Mono Class Library: Overview

Mono.Unix.Native.Stdlib: Members

The members of Mono.Unix.Native.Stdlib are listed below.

See Also: Inherited members from System.Object

Public Fields

static readonly
_IOFBFint (0). Fully Buffered.
static readonly
_IOLBFint (1). Line buffered.
static readonly
_IONBFint (2). Specify unbuffered FILE streams.
static readonly
BUFSIZint (8192). Buffer size.
static readonly
EOFint (-1). End Of File.
static readonly
EXIT_FAILUREint (1). Failure program exit status.
static readonly
EXIT_SUCCESSint (0). Success program exit status.
static readonly
FILENAME_MAXint (4096). Maximum filename length.
static readonly
FOPEN_MAXint (16). Maximum number of FILE pointer that may be open at one time.
static readonly
L_tmpnamint (20). The number of characters filled by Stdlib.tmpnam(3).
static readonly
MB_CUR_MAXint (6). Documentation for this section has not yet been entered.
static readonly
RAND_MAXint (2147483647). The maximum value returned by Stdlib.rand(3).
static readonly
SIG_DFLSignalHandler. Default signal behavior.
static readonly
SIG_ERRSignalHandler. Error signal.
static readonly
SIG_IGNSignalHandler. Ignore the signal.
static readonly
stderrIntPtr. Standard error FILE stream.
static readonly
stdinIntPtr. Standard input FILE stream.
static readonly
stdoutIntPtr. Standard output FILE stream.
static readonly
TMP_MAXint (238328). Maximum number of times Stdlib.tmpnam(3) will return different strings.

Public Methods

static
_Exit(int)
Perform normal program termination.
static
abort()
Cause abnormal program termination.
static
calloc(ulong, ulong) : IntPtr
Allocate and zero-fill memory.
static
clearerr(IntPtr) : int
Clear FILE stream status.
static
exit(int)
Terminates the process that calls the function with the exit status status.
static
fclose(IntPtr) : int
Close a FILE stream.
static
feof(IntPtr) : int
Test end-of-file indicator for the FILE stream.
static
ferror(IntPtr) : int
Tests the error indicator for the FILE stream.
static
fflush(IntPtr) : int
Flush a FILE stream.
static
fgetc(IntPtr) : int
Get next character from a FILE input stream.
static
fgetpos(IntPtr, FilePosition) : int
Retrieve the current file position of a FILE stream.
static
fgets(System.Text.StringBuilder, IntPtr) : System.Text.StringBuilder
Read a line from a FILE stream.
static
fgets(System.Text.StringBuilder, int, IntPtr) : System.Text.StringBuilder
Read a line from a FILE stream.
static
fopen(string, string) : IntPtr
Open a file and associate a FILE stream with it.
static
fprintf(IntPtr, string) : int
Print to a FILE stream.
static
fprintf(IntPtr, string, params object[]) : int
Print to a FILE stream.
static
fputc(int, IntPtr) : int
Output a character to a FILE stream.
static
fputs(string, IntPtr) : int
Output a line to a FILE stream.
static
fread(byte[], IntPtr) : ulong
Read from a binary stream.
static
fread(byte[], ulong, ulong, IntPtr) : ulong
Read from a binary stream.
static
fread(IntPtr, ulong, ulong, IntPtr) : ulong
Read from a binary stream.
static
fread(void*, ulong, ulong, IntPtr) : ulong
Read from a binary stream.
static
free(IntPtr)
Free allocated memory.
static
freopen(string, string, IntPtr) : IntPtr
Reopen a FILE stream.
static
fseek(IntPtr, long, SeekFlags) : int
Set file position for a FILE stream.
static
fsetpos(IntPtr, FilePosition) : int
Sets the current file position of a FILE stream.
static
ftell(IntPtr) : long
Get current file position for FILE stream.
static
fwrite(byte[], IntPtr) : ulong
Write to a binary FILE stream.
static
fwrite(byte[], ulong, ulong, IntPtr) : ulong
Write to a binary FILE stream.
static
fwrite(IntPtr, ulong, ulong, IntPtr) : ulong
Write to a binary FILE stream.
static
fwrite(void*, ulong, ulong, IntPtr) : ulong
Write to a binary FILE stream.
static
getc(IntPtr) : int
Get next character from a FILE input stream.
static
getchar() : int
Get next character from standard input.
static
getenv(string) : string
Read an environment variable.
static
GetLastError() : Errno
Reads and translates errno.
static
malloc(ulong) : IntPtr
Allocate memory.
static
perror(string) : int
Print an error message to Stdlib.stderr.
static
printf(string) : int
Prints a message on Stdlib.stdout.
static
printf(string, params object[]) : int
Prints a message on Stdlib.stdout.
static
putc(int, IntPtr) : int
Output a character to a FILE stream.
static
putchar(int) : int
Output a character to a Stdlib.stdout.
static
puts(string) : int
Output a line to Stdlib.stdout.
static
raise(RealTimeSignum) : int
Send a realtime signal to the current process.
static
raise(Signum) : int
Send a signal to the current process.
static
rand() : int
Generates a random number.
static
realloc(IntPtr, ulong) : IntPtr
Reallocate a memory block.
static
remove(string) : int
Remove a directory entry.
static
rename(string, string) : int
Rename oldpath to newpath.
static
rewind(IntPtr) : int
Set the file position indicator of the FILE stream to the beginning of the file.
static
setbuf(IntPtr, byte*) : int
Control FILE stream buffering operations.
static
setbuf(IntPtr, IntPtr) : int
Control FILE stream buffering operations.
static
SetSignalAction(RealTimeSignum, SignalAction) : int
Specifies what should happen when a signal is emitted.
static
SetSignalAction(Signum, SignalAction) : int
Specifies what should happen when a signal is emitted.
static
setvbuf(IntPtr, byte*, int, ulong) : int
Control FILE stream buffering operations.
static
setvbuf(IntPtr, IntPtr, int, ulong) : int
Control FILE stream buffering.
static
signal(Signum, SignalHandler) : SignalHandler
Register a handler for a given signal.
static
snprintf(System.Text.StringBuilder, string) : int
Print a string into a buffer.
static
snprintf(System.Text.StringBuilder, string, params object[]) : int
Print a string into a buffer.
static
snprintf(System.Text.StringBuilder, ulong, string) : int
Print a string into a buffer.
static
snprintf(System.Text.StringBuilder, ulong, string, params object[]) : int
Print a string into a buffer.
static
srand(uint)
Initialize the random number generator.
static
strerror(Errno) : string
Get error message string for 'errnum'.
static
strlen(IntPtr) : ulong
Documentation for this section has not yet been entered.
static
system(string) : int
Pass a command to the shell.
static
tmpfile() : IntPtr
Create a temporary file.
static
tmpnam() : string
Generate a temporary file name.
static
tmpnam(System.Text.StringBuilder) : string
Generate a temporary file name.
static
ungetc(int, IntPtr) : int
Un-get character from input FILE stream.

Protected Methods

static
SetLastError(Errno)
Writes errno.