-
Functions HI-TECH C WRITE
From HI-TECH C for CP/M Fan WIKI(EN)
WRITE
SYNOPSIS
#include <unixio.h> int write(int fd, void * buf, size_t cnt)
DESCRIPTION
Write() will write from the buffer at buf up to cnt bytes to the file associated with the file descriptor fd. The number of bytes actually written will be returned. EOF or a value less than cnt will be returned on error. In any case, any return value not equal to cnt should be treated as an error (cf. read() ).
SEE ALSO
open, close, read