From 736bc53178341e67111b7e15fe18e87adb22cc9d Mon Sep 17 00:00:00 2001 From: Christian Muck Date: Tue, 8 May 2012 09:55:26 +0200 Subject: 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 --- include/dlt/dlt_common.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/dlt/dlt_common.h') 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 */ -- cgit v1.2.1