Stories
Slash Boxes
Comments
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)

rurban
  reversethis-{ta.yar-x} {ta} {nabrur}
http://rurban.xarch.at/

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_GETVERSIONINFO() => str
  CW_GET_CYGDRIVE_PREFIXES($user, $system) => flags as str
  CW_SET_CYGWIN_REGISTRY_NAME($path)
  CW_GET_CYGWIN_REGISTRY_NAME => 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/external.cc for example.

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