Functions | |
int | _write_P (int fd, PGM_P data, unsigned int count) |
Writes data from program space to a file, device or socket. |
int _write_P | ( | int | fd, | |
PGM_P | data, | |||
unsigned int | count | |||
) |
Writes data from program space to a file, device or socket.
Similar to _write() except that the data is located in program memory.
fd | Descriptor of a previously opened file, device or connected socket. | |
data | Pointer to data in program space to be written. | |
count | Number of bytes to write. |
Definition at line 79 of file write_p.c.
References _NUTFILE::nf_dev.
Referenced by fputs_P(), and fwrite_P().