require '_h2ph_pre.ph'; no warnings qw(redefine misc); unless(defined(&_SYS_SELECT_H)) { die("Never use <bits/select.h> directly; include <sys/select.h> instead."); } require 'bits/wordsize.ph'; if(defined (&__GNUC__) && (defined(&__GNUC__) ? &__GNUC__ : undef) >= 2) { if((defined(&__WORDSIZE) ? &__WORDSIZE : undef) == 64) { eval 'sub __FD_ZERO_STOS () {"stosq";}' unless defined(&__FD_ZERO_STOS); } else { eval 'sub __FD_ZERO_STOS () {"stosl";}' unless defined(&__FD_ZERO_STOS); } eval 'sub __FD_ZERO { my($fdsp) = @_; eval q(\\"(assembly code)\\"); }' unless defined(&__FD_ZERO); } else { eval 'sub __FD_ZERO { my($set) = @_; eval q( &do { \'unsigned int __i\'; &fd_set * &__arr = ($set); &for ( &__i = 0; &__i < $sizeof{ &fd_set} / $sizeof{ &__fd_mask}; ++ &__i) &__FDS_BITS ( &__arr)[ &__i] = 0; } &while (0)); }' unless defined(&__FD_ZERO); } unless(defined(&__FD_SET)) { sub __FD_SET { my($d, $set) = @_; eval q((( &void) ( &__FDS_BITS ($set)[ &__FD_ELT ($d)] |= &__FD_MASK ($d)))); } } unless(defined(&__FD_CLR)) { sub __FD_CLR { my($d, $set) = @_; eval q((( &void) ( &__FDS_BITS ($set)[ &__FD_ELT ($d)] &= ~ &__FD_MASK ($d)))); } } unless(defined(&__FD_ISSET)) { sub __FD_ISSET { my($d, $set) = @_; eval q((( &__FDS_BITS ($set)[ &__FD_ELT ($d)] & &__FD_MASK ($d)) != 0)); } } 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 |
|