comparison src/syscalls.cc @ 5333:ac8d64b9e76a

[project @ 2005-05-02 18:15:20 by jwe]
author jwe
date Mon, 02 May 2005 18:16:51 +0000
parents 4c8a2e4e0717
children 89f5979e8552
comparison
equal deleted inserted replaced
5332:15db952ced2e 5333:ac8d64b9e76a
982 symbols_of_syscalls (void) 982 symbols_of_syscalls (void)
983 { 983 {
984 #if defined (F_DUPFD) 984 #if defined (F_DUPFD)
985 DEFCONSTX ("F_DUPFD", SBV_F_DUPFD, F_DUPFD, 985 DEFCONSTX ("F_DUPFD", SBV_F_DUPFD, F_DUPFD,
986 "-*- texinfo -*-\n\ 986 "-*- texinfo -*-\n\
987 @defvr {Built-in Variable} F_DUPFD\n\ 987 @defvr {Built-in Constant} F_DUPFD\n\
988 Request to @code{fcntl} to return a duplicate file descriptor.\n\ 988 Request to @code{fcntl} to return a duplicate file descriptor.\n\
989 @seealso{fcntl, F_GETFD, F_GETFL, F_SETFD, F_SETFL}\n\
989 @end defvr"); 990 @end defvr");
990 #endif 991 #endif
991 992
992 #if defined (F_GETFD) 993 #if defined (F_GETFD)
993 DEFCONSTX ("F_GETFD", SBV_F_GETFD, F_GETFD, 994 DEFCONSTX ("F_GETFD", SBV_F_GETFD, F_GETFD,
994 "-*- texinfo -*-\n\ 995 "-*- texinfo -*-\n\
995 @defvr {Built-in Variable} F_GETFD\n\ 996 @defvr {Built-in Constant} F_GETFD\n\
996 Request to @code{fcntl} to return the file descriptor flags.\n\ 997 Request to @code{fcntl} to return the file descriptor flags.\n\
998 @seealso{fcntl, F_DUPFD, F_GETFL, F_SETFD, F_SETFL}\n\
997 @end defvr"); 999 @end defvr");
998 #endif 1000 #endif
999 1001
1000 #if defined (F_GETFL) 1002 #if defined (F_GETFL)
1001 DEFCONSTX ("F_GETFL", SBV_F_GETFL, F_GETFL, 1003 DEFCONSTX ("F_GETFL", SBV_F_GETFL, F_GETFL,
1002 "-*- texinfo -*-\n\ 1004 "-*- texinfo -*-\n\
1003 @defvr {Built-in Variable} F_GETFL\n\ 1005 @defvr {Built-in Constant} F_GETFL\n\
1004 Request to @code{fcntl} to return the file status flags.\n\ 1006 Request to @code{fcntl} to return the file status flags.\n\
1007 @seealso{fcntl, F_DUPFD, F_GETFD, F_SETFD, F_SETFL}\n\
1005 @end defvr"); 1008 @end defvr");
1006 #endif 1009 #endif
1007 1010
1008 #if defined (F_SETFD) 1011 #if defined (F_SETFD)
1009 DEFCONSTX ("F_SETFD", SBV_F_SETFD, F_SETFD, 1012 DEFCONSTX ("F_SETFD", SBV_F_SETFD, F_SETFD,
1010 "-*- texinfo -*-\n\ 1013 "-*- texinfo -*-\n\
1011 @defvr {Built-in Variable} F_SETFD\n\ 1014 @defvr {Built-in Constant} F_SETFD\n\
1012 Request to @code{fcntl} to set the file descriptor flags.\n\ 1015 Request to @code{fcntl} to set the file descriptor flags.\n\
1016 @seealso{fcntl, F_DUPFD, F_GETFD, F_GETFL, F_SETFL}\n\
1013 @end defvr"); 1017 @end defvr");
1014 #endif 1018 #endif
1015 1019
1016 #if defined (F_SETFL) 1020 #if defined (F_SETFL)
1017 DEFCONSTX ("F_SETFL", SBV_F_SETFL, F_SETFL, 1021 DEFCONSTX ("F_SETFL", SBV_F_SETFL, F_SETFL,
1018 "-*- texinfo -*-\n\ 1022 "-*- texinfo -*-\n\
1019 @defvr {Built-in Variable} F_SETFL\n\ 1023 @defvr {Built-in Constant} F_SETFL\n\
1020 Request to @code{fcntl} to set the file status flags.\n\ 1024 Request to @code{fcntl} to set the file status flags.\n\
1025 @seealso{fcntl, F_DUPFD, F_GETFD, F_GETFL, F_SETFD}\n\
1021 @end defvr"); 1026 @end defvr");
1022 #endif 1027 #endif
1023 1028
1024 #if defined (O_APPEND) 1029 #if defined (O_APPEND)
1025 DEFCONSTX ("O_APPEND", SBV_O_APPEND, O_APPEND, 1030 DEFCONSTX ("O_APPEND", SBV_O_APPEND, O_APPEND,
1026 "-*- texinfo -*-\n\ 1031 "-*- texinfo -*-\n\
1027 @defvr {Built-in Variable} O_APPEND\n\ 1032 @defvr {Built-in Constant} O_APPEND\n\
1028 File status flag, append on each write.\n\ 1033 File status flag, append on each write.\n\
1034 @seealso{fcntl, O_ASYNC, O_CREAT, O_EXCL, O_NONBLOCK, O_RDONLY, O_RDWR, O_SYNC, O_TRUNC, O_WRONLY}\n\
1029 @end defvr"); 1035 @end defvr");
1030 #endif 1036 #endif
1031 1037
1032 #if defined (O_ASYNC) 1038 #if defined (O_ASYNC)
1033 DEFCONSTX ("O_ASYNC", SBV_O_ASYNC, O_ASYNC, 1039 DEFCONSTX ("O_ASYNC", SBV_O_ASYNC, O_ASYNC,
1034 "-*- texinfo -*-\n\ 1040 "-*- texinfo -*-\n\
1035 @defvr {Built-in Variable} O_ASYNC\n\ 1041 @defvr {Built-in Constant} O_ASYNC\n\
1036 File status flag, asynchronous I/O.\n\ 1042 File status flag, asynchronous I/O.\n\
1043 @seealso{fcntl, O_APPEND, O_CREAT, O_EXCL, O_NONBLOCK, O_RDONLY, O_RDWR, O_SYNC, O_TRUNC, O_WRONLY}\n\
1037 @end defvr"); 1044 @end defvr");
1038 #endif 1045 #endif
1039 1046
1040 #if defined (O_CREAT) 1047 #if defined (O_CREAT)
1041 DEFCONSTX ("O_CREAT", SBV_O_CREAT, O_CREAT, 1048 DEFCONSTX ("O_CREAT", SBV_O_CREAT, O_CREAT,
1042 "-*- texinfo -*-\n\ 1049 "-*- texinfo -*-\n\
1043 @defvr {Built-in Variable} O_CREAT\n\ 1050 @defvr {Built-in Constant} O_CREAT\n\
1044 File status flag, create file if it does not exist.\n\ 1051 File status flag, create file if it does not exist.\n\
1052 @seealso{fcntl, O_APPEND, O_ASYNC, O_EXCL, O_NONBLOCK, O_RDONLY, O_RDWR, O_SYNC, O_TRUNC, O_WRONLY}\n\
1045 @end defvr"); 1053 @end defvr");
1046 #endif 1054 #endif
1047 1055
1048 #if defined (O_EXCL) 1056 #if defined (O_EXCL)
1049 DEFCONSTX ("O_EXCL", SBV_O_EXCL, O_EXCL, 1057 DEFCONSTX ("O_EXCL", SBV_O_EXCL, O_EXCL,
1050 "-*- texinfo -*-\n\ 1058 "-*- texinfo -*-\n\
1051 @defvr {Built-in Variable} O_EXCL\n\ 1059 @defvr {Built-in Constant} O_EXCL\n\
1052 File status flag, file locking.\n\ 1060 File status flag, file locking.\n\
1061 @seealso{fcntl, O_APPEND, O_ASYNC, O_CREAT, O_NONBLOCK, O_RDONLY, O_RDWR, O_SYNC, O_TRUNC, O_WRONLY}\n\
1053 @end defvr"); 1062 @end defvr");
1054 #endif 1063 #endif
1055 1064
1056 #if defined (O_NONBLOCK) 1065 #if defined (O_NONBLOCK)
1057 DEFCONSTX ("O_NONBLOCK", SBV_O_NONBLOCK, O_NONBLOCK, 1066 DEFCONSTX ("O_NONBLOCK", SBV_O_NONBLOCK, O_NONBLOCK,
1058 "-*- texinfo -*-\n\ 1067 "-*- texinfo -*-\n\
1059 @defvr {Built-in Variable} O_NONBLOCK\n\ 1068 @defvr {Built-in Constant} O_NONBLOCK\n\
1060 File status flag, non-blocking I/O.\n\ 1069 File status flag, non-blocking I/O.\n\
1070 @seealso{fcntl, O_APPEND, O_ASYNC, O_CREAT, O_EXCL, O_RDONLY, O_RDWR, O_SYNC, O_TRUNC, O_WRONLY}\n\
1061 @end defvr"); 1071 @end defvr");
1062 #endif 1072 #endif
1063 1073
1064 #if defined (O_RDONLY) 1074 #if defined (O_RDONLY)
1065 DEFCONSTX ("O_RDONLY", SBV_O_RDONLY, O_RDONLY, 1075 DEFCONSTX ("O_RDONLY", SBV_O_RDONLY, O_RDONLY,
1066 "-*- texinfo -*-\n\ 1076 "-*- texinfo -*-\n\
1067 @defvr {Built-in Variable} O_RDONLY\n\ 1077 @defvr {Built-in Constant} O_RDONLY\n\
1068 File status flag, file opened for reading only.\n\ 1078 File status flag, file opened for reading only.\n\
1079 @seealso{fcntl, O_APPEND, O_ASYNC, O_CREAT, O_EXCL, O_NONBLOCK, O_RDWR, O_SYNC, O_TRUNC, O_WRONLY}\n\
1069 @end defvr"); 1080 @end defvr");
1070 #endif 1081 #endif
1071 1082
1072 #if defined (O_RDWR) 1083 #if defined (O_RDWR)
1073 DEFCONSTX ("O_RDWR", SBV_O_RDWR, O_RDWR, 1084 DEFCONSTX ("O_RDWR", SBV_O_RDWR, O_RDWR,
1074 "-*- texinfo -*-\n\ 1085 "-*- texinfo -*-\n\
1075 @defvr {Built-in Variable} O_RDWR\n\ 1086 @defvr {Built-in Constant} O_RDWR\n\
1076 File status flag, file open for both reading and writing.\n\ 1087 File status flag, file open for both reading and writing.\n\
1088 @seealso{fcntl, O_APPEND, O_ASYNC, O_CREAT, O_EXCL, O_NONBLOCK, O_RDONLY, O_SYNC, O_TRUNC, O_WRONLY}\n\
1077 @end defvr"); 1089 @end defvr");
1078 #endif 1090 #endif
1079 1091
1080 #if defined (O_SYNC) 1092 #if defined (O_SYNC)
1081 DEFCONSTX ("O_SYNC", SBV_O_SYNC, O_SYNC, 1093 DEFCONSTX ("O_SYNC", SBV_O_SYNC, O_SYNC,
1082 "-*- texinfo -*-\n\ 1094 "-*- texinfo -*-\n\
1083 @defvr {Built-in Variable} O_SYNC\n\ 1095 @defvr {Built-in Constant} O_SYNC\n\
1084 File status flag, file opened for synchronous I/O.\n\ 1096 File status flag, file opened for synchronous I/O.\n\
1097 @seealso{fcntl, O_APPEND, O_ASYNC, O_CREAT, O_EXCL, O_NONBLOCK, O_RDONLY, O_RDWR, O_TRUNC, O_WRONLY}\n\
1085 @end defvr"); 1098 @end defvr");
1086 #endif 1099 #endif
1087 1100
1088 #if defined (O_TRUNC) 1101 #if defined (O_TRUNC)
1089 DEFCONSTX ("O_TRUNC", SBV_O_TRUNC, O_TRUNC, 1102 DEFCONSTX ("O_TRUNC", SBV_O_TRUNC, O_TRUNC,
1090 "-*- texinfo -*-\n\ 1103 "-*- texinfo -*-\n\
1091 @defvr {Built-in Variable} O_TRUNC\n\ 1104 @defvr {Built-in Variable} O_TRUNC\n\
1092 File status flag, if file exists, truncate it when writing.\n\ 1105 File status flag, if file exists, truncate it when writing.\n\
1106 @seealso{fcntl, O_APPEND, O_ASYNC, O_CREAT, O_EXCL, O_NONBLOCK, O_RDONLY, O_RDWR, O_SYNC, O_WRONLY}\n\
1093 @end defvr"); 1107 @end defvr");
1094 #endif 1108 #endif
1095 1109
1096 #if defined (O_WRONLY) 1110 #if defined (O_WRONLY)
1097 DEFCONSTX ("O_WRONLY", SBV_O_WRONLY, O_WRONLY, 1111 DEFCONSTX ("O_WRONLY", SBV_O_WRONLY, O_WRONLY,
1098 "-*- texinfo -*-\n\ 1112 "-*- texinfo -*-\n\
1099 @defvr {Built-in Variable} O_WRONLY\n\ 1113 @defvr {Built-in Constant} O_WRONLY\n\
1100 File status flag, file opened for writing only.\n\ 1114 File status flag, file opened for writing only.\n\
1115 @seealso{fcntl, O_APPEND, O_ASYNC, O_CREAT, O_EXCL, O_NONBLOCK, O_RDONLY, O_RDWR, O_SYNC, O_TRUNC}\n\
1101 @end defvr"); 1116 @end defvr");
1102 #endif 1117 #endif
1103 1118
1104 } 1119 }
1105 1120