[Mono-list] using Mono.Unix

Jonathan Pryor jonpryor at vt.edu
Thu Dec 7 05:57:50 EST 2006


On Thu, 2006-12-07 at 12:29 +0700, brad brock wrote:
> Hi, list. I'm new in using Mono. I need help how to use the native
> stdlib. Is there any example program and the command to compile it. I
> really need it.

Example programs are within the Mono.Unix documentation, e.g.:

http://www.go-mono.com/docs/monodoc.ashx?tlink=0@ecma%3a89%
23StdioFileStream%2f

To compile, you need to add -r:Mono.Posix.dll to your compile line, e.g.

	mcs -r:Mono.Posix.dll your-program.cs

stdlib functionality is exposed via the Mono.Unix.StdioFileStream and
Mono.Unix.Native.Stdlib types.

 - Jon




More information about the Mono-list mailing list