require '_h2ph_pre.ph'; no warnings qw(redefine misc); if(!defined (&_SYS_WAIT_H) && !defined (&_STDLIB_H)) { die("Never include <bits/waitstatus.h> directly; use <sys/wait.h> instead."); } unless(defined(&__WEXITSTATUS)) { sub __WEXITSTATUS { my($status) = @_; eval q(((($status) & 0xff00) >> 8)); } } unless(defined(&__WTERMSIG)) { sub __WTERMSIG { my($status) = @_; eval q((($status) & 0x7f)); } } unless(defined(&__WSTOPSIG)) { sub __WSTOPSIG { my($status) = @_; eval q( &__WEXITSTATUS($status)); } } unless(defined(&__WIFEXITED)) { sub __WIFEXITED { my($status) = @_; eval q(( &__WTERMSIG($status) == 0)); } } unless(defined(&__WIFSIGNALED)) { sub __WIFSIGNALED { my($status) = @_; eval q((( ((($status) & 0x7f) + 1) >> 1) > 0)); } } unless(defined(&__WIFSTOPPED)) { sub __WIFSTOPPED { my($status) = @_; eval q(((($status) & 0xff) == 0x7f)); } } if(defined(&WCONTINUED)) { eval 'sub __WIFCONTINUED { my($status) = @_; eval q((($status) == &__W_CONTINUED)); }' unless defined(&__WIFCONTINUED); } unless(defined(&__WCOREDUMP)) { sub __WCOREDUMP { my($status) = @_; eval q((($status) & &__WCOREFLAG)); } } unless(defined(&__W_EXITCODE)) { sub __W_EXITCODE { my($ret, $sig) = @_; eval q((($ret) << 8| ($sig))); } } unless(defined(&__W_STOPCODE)) { sub __W_STOPCODE { my($sig) = @_; eval q((($sig) << 8| 0x7f)); } } eval 'sub __W_CONTINUED () {0xffff;}' unless defined(&__W_CONTINUED); eval 'sub __WCOREFLAG () {0x80;}' unless defined(&__WCOREFLAG); if(defined(&__USE_BSD)) { require 'endian.ph'; if((defined(&__BYTE_ORDER) ? &__BYTE_ORDER : undef) == (defined(&__LITTLE_ENDIAN) ? &__LITTLE_ENDIAN : undef)) { } if((defined(&__BYTE_ORDER) ? &__BYTE_ORDER : undef) == (defined(&__BIG_ENDIAN) ? &__BIG_ENDIAN : undef)) { } if((defined(&__BYTE_ORDER) ? &__BYTE_ORDER : undef) == (defined(&__LITTLE_ENDIAN) ? &__LITTLE_ENDIAN : undef)) { } if((defined(&__BYTE_ORDER) ? &__BYTE_ORDER : undef) == (defined(&__BIG_ENDIAN) ? &__BIG_ENDIAN : undef)) { } eval 'sub w_termsig () { ($__wait_terminated->{__w_termsig});}' unless defined(&w_termsig); eval 'sub w_coredump () { ($__wait_terminated->{__w_coredump});}' unless defined(&w_coredump); eval 'sub w_retcode () { ($__wait_terminated->{__w_retcode});}' unless defined(&w_retcode); eval 'sub w_stopsig () { ($__wait_stopped->{__w_stopsig});}' unless defined(&w_stopsig); eval 'sub w_stopval () { ($__wait_stopped->{__w_stopval});}' unless defined(&w_stopval); } 1;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
byteswap-16.ph | File | 730 B | 0644 |
|
byteswap.ph | File | 3.79 KB | 0644 |
|
endian.ph | File | 247 B | 0644 |
|
ioctl-types.ph | File | 1.72 KB | 0644 |
|
ioctls.ph | File | 3.74 KB | 0644 |
|
pthreadtypes.ph | File | 3.92 KB | 0644 |
|
select.ph | File | 1.36 KB | 0644 |
|
select2.ph | File | 490 B | 0644 |
|
sigaction.ph | File | 1.5 KB | 0644 |
|
sigcontext.ph | File | 860 B | 0644 |
|
siginfo.ph | File | 6.79 KB | 0644 |
|
signum.ph | File | 2.76 KB | 0644 |
|
sigset.ph | File | 2.99 KB | 0644 |
|
sigstack.ph | File | 408 B | 0644 |
|
sigthread.ph | File | 346 B | 0644 |
|
sockaddr.ph | File | 507 B | 0644 |
|
socket.ph | File | 12.27 KB | 0644 |
|
socket2.ph | File | 177 B | 0644 |
|
socket_type.ph | File | 766 B | 0644 |
|
syscall.ph | File | 73.15 KB | 0644 |
|
syslog-ldbl.ph | File | 353 B | 0644 |
|
syslog-path.ph | File | 363 B | 0644 |
|
syslog.ph | File | 403 B | 0644 |
|
time.ph | File | 1.76 KB | 0644 |
|
timex.ph | File | 3.03 KB | 0644 |
|
types.ph | File | 2.51 KB | 0644 |
|
typesizes.ph | File | 3.87 KB | 0644 |
|
uio.ph | File | 581 B | 0644 |
|
waitflags.ph | File | 731 B | 0644 |
|
waitstatus.ph | File | 2.52 KB | 0644 |
|
wordsize.ph | File | 457 B | 0644 |
|