diff options
author | Christian Muck <christian.muck@bmw.de> | 2012-05-08 09:55:26 +0200 |
---|---|---|
committer | Christian Muck <christian.muck@bmw.de> | 2012-05-30 09:05:27 +0200 |
commit | 736bc53178341e67111b7e15fe18e87adb22cc9d (patch) | |
tree | 88d292510ac498834f9e298a54e5fd6c6370737c /include | |
parent | ee78627e44e4a3093789d1d361ac1e03354da6a4 (diff) | |
download | DLT-daemon-736bc53178341e67111b7e15fe18e87adb22cc9d.tar.gz |
Added define statement for initial value of file descriptor and (-1). Updated the user_handle of the daemon and user
Signed-off-by: Christian Muck <christian.muck@bmw.de>
Diffstat (limited to 'include')
-rwxr-xr-x | include/dlt/dlt_common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h index 19ee4d5..690c2bd 100755 --- a/include/dlt/dlt_common.h +++ b/include/dlt/dlt_common.h @@ -175,6 +175,13 @@ */ #define DLT_DAEMON_TCP_PORT 3490 + +/* Initi value for file descritpor */ +#define DLT_FD_INIT -1 + +/* Minimum value for a file descriptor except the POSIX Standards: stdin=0, stdout=1, stderr=2 */ +#define DLT_FD_MINIMUM 3 + /** * The size of a DLT ID */ |