[MonoDevelop] Mono.Unix questions

Sanford Armstrong sanfordarmstrong at gmail.com
Wed Feb 7 10:28:24 EST 2007


On 2/7/07, Neil Munro <neilmunro at gmail.com> wrote:
> Hey
>        I am trying to complete an exercise from 'Mono: A Developers
> Handbook' and it goes on about using Mono.Posix however a little bit of
> checking on the documentation page tells me it's now Mono.Unix, however
> replacing Mono.Posix with Mono.Unix hasn't worked, what are the things that
> have changed to I can write a post-it in my book reminding me what things
> are now?
>
> The code in question is this
>
> using SysCall;

Syscall is a class in the Mono.Unix.Native namespace.  The above line should be:

using Mono.Unix.Native;

Then your calls to Syscall should work.  You still need to compile
with "-r:Mono.Posix", I believe.

MonoDoc is a great utility to help you explore the current Mono APIs
when you have trouble finding or using certain pieces.

Have fun,
Sandy

P.S. Sorry for two emails, Neil... forgot to reply-all!


More information about the Monodevelop-list mailing list