lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


----- Original Message -----
From: "David Burgess" <david@spinifex.net>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Wednesday, April 24, 2002 10:31 AM
Subject: Re: poslib port for Win32 platforms?


> A few are not possible, I know of no way of getting a
> parent pid. Most of the PROCAUTH functions become
> simple stubs , the FILE functions I have except for link.

But, there must be some way to do it, since there are
programs tha list the hole process hierachy available from
microsoft and other sources (Sysinternals, www.sysinternals.com)


> ----- Original Message -----
> From: "Antonio E. Scuri" <scuri@tecgraf.puc-rio.br>
> To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
> Sent: Wednesday, April 24, 2002 10:22 PM
> Subject: Re: poslib port for Win32 platforms?
>
>
> >
> >    Last time I tried I stop on the following functions:
> >
> > TIME
> >       times
> >
> > SYSCONF
> >      uname
> >      sysconf
> >
> > PROCAUTH
> >      setuid
> >      setgid
> >      getpwnam
> >      getpwuid
> >      getgrnam
> >      getgrgid
> >      geteid
> >      getgid
> >      getuid
> >      getpgrp
> >      getppid
> >      getpid
> >
> > FILE
> >      opendir
> >      readir
> >      closedir
> >      pathconf
> >      fpathconf
> >      link
> >      chown
> >
> >    Because they do not have a direct map to Win32 functions, including
> > MSVCRT.LIB.
> >
> >    I suggest to use Cygwin, or at least to copy their implementation and
> to
> > keep poslib code intact as possible.
> >
> > Regards,
> > scuri
> >
> >
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/4/2002