Return a file descriptor for the executable file
#include <process.h> int _cmdfd( void );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
This function returns a file descriptor for the executable file.
A file descriptor for the executable file.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |