Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/s/setiov.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/s/setiov.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/s/setiov.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/s/setiov.html on line 8

SETIOV()

Fill in the fields of an iov_t structure

Synopsis:

#include <sys/types.h>
#include <unistd.h>

void SETIOV( iov_t *msg,
             void *addr,
             size_t len );

Arguments:

msg
A pointer to the iov_t structure structure that you want to set.
addr
The value you want to use for the structure's iov_base member.
len
The value you want to use for the structure's iov_len member.

Description:

The SETIOV() macro fills in the fields of an iov_t message structure. The iov_t structure consists of two fields:

typedef struct iovec {
    void    *iov_base;
    size_t   iov_len;
} iov_t;

Note: SETIOV() doesn't make a copy of the data that addr points to; it just copies the pointer.

Classification:

QNX Neutrino

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

See also:

GETIOVBASE(), GETIOVLEN(), MsgKeyData(), MsgReadv(), MsgReceivev(), MsgReplyv(), MsgSendv(), MsgWritev()

Message Passing chapter of Getting Started with QNX Neutrino


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/s/setiov.html on line 133

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/s/setiov.html on line 133