Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

rurban (7989)

  reversethis-{ta.yar-x} {ta} {nabrur}

cygwin maintainer for perl, parrot, clisp, postgresql, ... and some perl modules (perl-libwin32, perl-Win32-GUI). Has also some hairy CPAN packages: B::C, B::Generate, C::DynaLib, B::Debugger ...

Journal of rurban (7989)

Monday July 02, 2007
03:57 PM

Future Cygwin:: enhancements

[ #33662 ]
I just added cygpath style conversions to blead and now I'm wondering what other useful internal API's would be useful to be exported to perl starting with 5.10.

And if it should require the "use Cygwin;" importer. Probably so. The current list of 6 cygwin functions in core require no "use Cygwin;".

I came up with this list for a future Cygwin package:

  cygserver_running() => bool
  CW_GET_CYGDRIVE_PREFIXES($user, $system) => flags as str
  CW_STRACE_ACTIVE() => bool
  CW_EXTRACT_DOMAIN_AND_USER(\%pw) => (domain, user)
  CW_CMDLINE($pid) => str
  CW_CHECK_NTSEC($filename) => bool
  CW_GET_ERRNO_FROM_WINERROR($error, $deferrno) => int
  CW_GET_POSIX_SECURITY_ATTRIBUTE($attribute, \@psa) => \%sd
  CW_GET_SHMLBA() => GetSystemInfo.dwAllocationGranularity
  CW_GET_UID_FROM_SID($psid) => $uid
  CW_GET_GID_FROM_SID($psid) => $gid

Of course CW_ will be removed and properly lower cased. Look up sys/cygwin.h and/or winsup/ for example.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.