Modify flags associated with fd
#include <sys/neutrino.h>
int ConnectFlags( pid_t pid,
int coid,
unsigned mask,
unsigned bits );
int ConnectFlags_r( pid_t pid,
int coid,
unsigned mask,
unsigned bits );
libc
The ConnectFlags() and ConnectFlags_r() kernel calls modify flags associated with fd. These kernel calls don't block. The ConnectFlags() and ConnectFlags_r() functions are identical except in the way they indicate errors. See the Returns section for details.
Flags currently defined include:
The only difference between these functions is the way they indicate errors:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |