Output a line to a FILE stream.
- s
- The string to write.
- stream
- The FILE stream to write to.
The fputs function returns 0 on success and Stdlib.EOF on error, and Stdlib.GetLastError indicates the error.
Usage
The following errors are specified:
Error Details Errno.EBADF The stream argument not a writable stream. fputs may also fail for any of the errors specified for the routines Syscall.write(2).
The function fputs() writes the string pointed to by s to the stream pointed to by stream.
Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0