HPlogo Berkeley Sockets/iX Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 3 File System Intrinsics

WRITE

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

C Interface

        int write (s, msg, len);

        int s;

        char *msg;

        int len

Description

The write function is similar to the send call except there is no flags parameter. It behaves the same way as a send call with flags set to zero.

For more information about write or any other POSIX function, refer to the MPE/iX Developer's Kit Reference Manual, Volume 1.

Return Value

If successful, the call returns the number of characters sent. If the call fails, a -1 is returned, and an error code is stored in errno.

MPE/iX Specific

The write call is supported as of MPE/iX release 4.5.

See Also

send

Feedback to webmaster