ICI Modules: posix: write

Modules by name : by type


int = write(int, string|mem [, int])


Writes data to a file descriptor given in the first argument. The second argument defines the data and is either a string or a mem object. In the case of a mem object the access size is considered and the entire block of memory it represents may be sent. The optional third argument gives the number of bytes that are to be written. If no byte count is given the entire contents of the string or memory object are written. The actual number of bytes written to the file is returned.