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-08 09:58:09 +0200 |
commit | 425c366dc147652c9b2b0af8a26f66d7a457feff (patch) | |
tree | a66ddfe45817a6d64c1cd87ab26eda4ce5359d7b /include/dlt/dlt_common.h | |
parent | f7828cf1a677b0d651c0477176099d66550037fd (diff) | |
download | DLT-daemon-425c366dc147652c9b2b0af8a26f66d7a457feff.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/dlt/dlt_common.h')
-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 */ |