fcntl.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* fcntl.h - standard header */
  2. /* Copyright 1992 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01f,22sep92,rrr  added support for c++
  7. 01e,18sep92,smb  added prototypes for open and creat.
  8. 01d,29jul92,smb  rearranged for the stdio library.
  9. 01c,04jul92,jcf  cleaned up.
  10. 01b,26may92,rrr  the tree shuffle
  11. 01a,05dec91,rrr  written.
  12. */
  13. #ifndef __INCfcntlh
  14. #define __INCfcntlh
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. #include "types/vxANSI.h"
  19. #include "sys/fcntlcom.h"
  20. #define O_NDELAY _FNDELAY /* Non-blocking I/O (4.2 style) */
  21. #if defined(__STDC__) || defined(__cplusplus)
  22. extern int      open (const char *name, int flags, int mode );
  23. extern int      creat (const char *name, int mode );
  24. #else /* __STDC__ */
  25. extern int      open ();
  26. extern int      creat ();
  27. #endif /* __STDC__ */
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31. #endif /* __INCfcntlh */