_cmdfd()

Return a file descriptor for the executable file

Synopsis:

#include <process.h>

int _cmdfd( void );

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

This function returns a file descriptor for the executable file.

Returns:

A file descriptor for the executable file.

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

_cmdname(), __progname