Mono Class Library: Mono.Unix.Native.Stdlib Overview | Members

Mono.Unix.Native.Stdlib.puts Method

Output a line to Stdlib.stdout. [Edit]

public static int puts (string s)

Parameters

s
Documentation for this section has not yet been entered. [Edit]

Returns

The fputs function returns 0 on success and Stdlib.EOF on error, and Stdlib.GetLastError indicates the error.

Usage

The following errors are specified:

ErrorDetails
Errno.EBADFThe stream argument not a writable stream.

fputs may also fail for any of the errors specified for the routines Syscall.write(2).

[Edit]

Remarks

The function puts() writes the string s, and a terminating newline character, to the stream Stdlib.stdout. [Edit]

Requirements

Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0