comparison src/syscalls.cc @ 2457:5be3f6f5986a

[project @ 1996-11-03 02:54:44 by jwe]
author jwe
date Sun, 03 Nov 1996 02:55:21 +0000
parents f667d7ec08b9
children 0c788e9b53b8
comparison
equal deleted inserted replaced
2456:fd838110e6ca 2457:5be3f6f5986a
83 #endif 83 #endif
84 84
85 return m; 85 return m;
86 } 86 }
87 87
88 DEFUN(dup2, args, , 88 DEFUN (dup2, args, ,
89 "fid = dup2 (old, new): duplicate a file descriptor") 89 "fid = dup2 (old, new): duplicate a file descriptor")
90 { 90 {
91 double retval = -1.0; 91 double retval = -1.0;
92 92
93 #if defined (HAVE_DUP2) 93 #if defined (HAVE_DUP2)
122 #endif 122 #endif
123 123
124 return retval; 124 return retval;
125 } 125 }
126 126
127 DEFUN(exec, args, , 127 DEFUN (exec, args, ,
128 "exec (file, args): replace current process with a new process") 128 "exec (file, args): replace current process with a new process")
129 { 129 {
130 double retval = -1.0; 130 double retval = -1.0;
131 131
132 #if defined (HAVE_EXECVP) 132 #if defined (HAVE_EXECVP)
190 #endif 190 #endif
191 191
192 return retval; 192 return retval;
193 } 193 }
194 194
195 DEFUN(fcntl, args, , 195 DEFUN (fcntl, args, ,
196 "fcntl (fid, request, argument): control open file descriptors") 196 "fcntl (fid, request, argument): control open file descriptors")
197 { 197 {
198 double retval = -1.0; 198 double retval = -1.0;
199 199
200 #if defined (HAVE_FCNTL) 200 #if defined (HAVE_FCNTL)
231 #endif 231 #endif
232 232
233 return retval; 233 return retval;
234 } 234 }
235 235
236 DEFUN(fork, args, , 236 DEFUN (fork, args, ,
237 "fork (): create a copy of the current process") 237 "fork (): create a copy of the current process")
238 { 238 {
239 double retval = -1.0; 239 double retval = -1.0;
240 240
241 #if defined (HAVE_FORK) 241 #if defined (HAVE_FORK)
250 #endif 250 #endif
251 251
252 return retval; 252 return retval;
253 } 253 }
254 254
255 DEFUN(getpgrp, args, , 255 DEFUN (getpgrp, args, ,
256 "pgid = getpgrp (): return the process group id of the current process") 256 "pgid = getpgrp (): return the process group id of the current process")
257 { 257 {
258 double retval = -1.0; 258 double retval = -1.0;
259 259
260 #if defined (HAVE_GETPGRP) 260 #if defined (HAVE_GETPGRP)
269 #endif 269 #endif
270 270
271 return retval; 271 return retval;
272 } 272 }
273 273
274 DEFUN(getpid, args, , 274 DEFUN (getpid, args, ,
275 "pid = getpid (): return the process id of the current process") 275 "pid = getpid (): return the process id of the current process")
276 { 276 {
277 double retval = -1.0; 277 double retval = -1.0;
278 278
279 #if defined (HAVE_GETPID) 279 #if defined (HAVE_GETPID)
288 #endif 288 #endif
289 289
290 return retval; 290 return retval;
291 } 291 }
292 292
293 DEFUN(getppid, args, , 293 DEFUN (getppid, args, ,
294 "pid = getppid (): return the process id of the parent process") 294 "pid = getppid (): return the process id of the parent process")
295 { 295 {
296 double retval = -1.0; 296 double retval = -1.0;
297 297
298 #if defined (HAVE_GETPPID) 298 #if defined (HAVE_GETPPID)