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

Mono.Unix.Native.Stdlib.fputc Method

Output a character to a FILE stream.

public static int fputc (int c, IntPtr stream)

Parameters

c
The charater to write.
stream
The FILE stream to write to.

Returns

Returns the character written. If an error occurrs, the value Stdlib.EOF is returned.

Remarks

The fputc() function writes the character c (converted to an "unsigned char") to the output stream pointed to by stream.

Requirements

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