Operating systems, development tools, and professional services
for connected embedded systems

QNX Developer Support

[Previous] [Contents] [Index] [Next]

_io_connect_ftype_reply

Structure of a connect message giving a status and a file type

Synopsis:

struct _io_connect_ftype_reply {
        uint16_t status;
        uint16_t reserved;
        uint32_t file_type;
};

Description:

A resource manager uses the _io_connect_ftype_reply structure to send a status and a file type to a client that has sent a connect message.

The members include:

status
Typically one of the errno values.
file_type
The file type; one of the following (defined in <sys/ftype.h>):
  • _FTYPE_ANY -- the path name can be anything.
  • _FTYPE_LINK -- reserved for the Process Manager.
  • _FTYPE_MOUNT -- receive mount requests on the path (path must be NULL).
  • _FTYPE_MQUEUE -- reserved for a message-queue manager.
  • _FTYPE_PIPE -- reserved for a pipe manager.
  • _FTYPE_SEM -- reserved for a semaphore manager.
  • _FTYPE_SHMEM -- reserved for a shared memory object.
  • _FTYPE_SOCKET -- reserved for a socket manager.
  • _FTYPE_SYMLINK -- reserved for the Process Manager.

Classification:

QNX Neutrino

See also:

_io_connect, _io_connect_link_reply, resmgr_connect_funcs_t

Writing a Resource Manager chapter of the Programmer's Guide.


[Previous] [Contents] [Index] [Next]