Lines Matching defs:flag
64 * On OpenVMS we use an event flag instead of a pipe or a socket since
75 int flag = -1;
79 ** Allocate an event flag and clear it.
81 status = lib$get_ef(&flag);
82 if ((!$VMS_STATUS_SUCCESS(status)) || (flag == -1)) {
86 sys$clref(flag);
89 ** Give NSPR the event flag's negative value. We do this because our
90 ** select interprets a negative fd as an event flag rather than a
93 event = PR_CreateSocketPollFd(-flag);
95 lib$free_ef(&flag);
104 int flag = -PR_FileDesc2NativeHandle(event);
106 lib$free_ef(&flag);
113 ** Just set the event flag.
127 ** Just clear the event flag.
145 * flag.
255 ** Allocate an event flag and clear it.