HP 3000 Manuals

WRITE [ Berkeley Sockets/iX Reference Manual ] MPE/iX 5.0 Documentation


Berkeley Sockets/iX Reference Manual

WRITE 

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



MPE/iX 5.0 Documentation