Skip to content
Snippets Groups Projects
Commit 0accf578 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

SEEK_SET defines standardized

Rev: src/fdlib.h:1.14
parent 0e7022a2
No related branches found
No related tags found
No related merge requests found
/* /*
* $Id: fdlib.h,v 1.13 1998/03/28 15:08:12 grubba Exp $ * $Id: fdlib.h,v 1.14 1998/04/06 04:22:11 hubbe Exp $
*/ */
#ifndef FDLIB_H #ifndef FDLIB_H
#define FDLIB_H #define FDLIB_H
...@@ -291,6 +291,18 @@ typedef struct my_fd_set_s ...@@ -291,6 +291,18 @@ typedef struct my_fd_set_s
#define UNIX_SOCKET_CAPABILITIES (fd_INTERPROCESSABLE | fd_BIDIRECTIONAL | fd_CAN_NONBLOCK) #define UNIX_SOCKET_CAPABILITIES (fd_INTERPROCESSABLE | fd_BIDIRECTIONAL | fd_CAN_NONBLOCK)
#define SOCKET_CAPABILITIES (fd_INTERPROCESSABLE | fd_BIDIRECTIONAL | fd_CAN_NONBLOCK | fd_CAN_SHUTDOWN) #define SOCKET_CAPABILITIES (fd_INTERPROCESSABLE | fd_BIDIRECTIONAL | fd_CAN_NONBLOCK | fd_CAN_SHUTDOWN)
#ifndef SEEK_SET
#define SEEK_SET 0
#endif
#ifndef SEEK_CUR
#define SEEK_CUR 1
#endif
#ifndef SEEK_END
#define SEEK_END 2
#endif
#endif #endif
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment