package lpd
-
lpd.socket
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
#output buf pos len
writes up to len
characters from string buf
, starting at offset pos
, to the given object output stream and returns the number of characters actually written. A return value 0
(when len > 0
) means that the write would block (and we are in non-blocking mode).
method fprintf : ('a, unit, string, unit) Pervasives.format4 -> 'a
See Socket.fprintf
.
Flush the buffer associated with the output channel, performing all pending writes on that channel. Interactive programs must be careful about flushing standard output and standard error at the right time.