Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
f_getfd z/OS Using REXX and z/OS UNIX System Services SA23-2283-00 |
|
Functionf_getfd invokes the fcntl callable service to get the file descriptor flags for a file. Parameters
Usage notesThe file descriptor flags are returned in RETVAL. The only POSIX-defined
flag is FCTLCLOEXEC. To determine if this flag is set, use this expression:
(retval//2)=1
ExampleTo get the file descriptor flags for file descriptor 0:
|
Copyright IBM Corporation 1990, 2014
|