Docs » Autodocs » dos.library » FPuts
FPuts -- Writes a string the the specified output (buffered) (V36)
error = FPuts(fh, str) D0 D1 D2 LONG FPuts(BPTR, STRPTR)
This routine writes an unformatted string to the filehandle. No newline is appended to the string. This routine is buffered.
fh - filehandle to use for buffered I/O str - Null-terminated string to be written to default output
error - 0 normally, otherwise -1. Note that this is opposite of most other Dos functions, which return success.
FGets(), FPutC(), FWrite(), PutStr()
|