freebsd-dev/contrib/perl5/h2pl/eg/sizeof.ph

15 lines
404 B
Perl

$sizeof{'char'} = 1;
$sizeof{'int'} = 4;
$sizeof{'long'} = 4;
$sizeof{'struct arpreq'} = 36;
$sizeof{'struct ifconf'} = 8;
$sizeof{'struct ifreq'} = 32;
$sizeof{'struct ltchars'} = 6;
$sizeof{'struct pcntl'} = 116;
$sizeof{'struct rtentry'} = 52;
$sizeof{'struct sgttyb'} = 6;
$sizeof{'struct tchars'} = 6;
$sizeof{'struct ttychars'} = 14;
$sizeof{'struct winsize'} = 8;
$sizeof{'struct termios'} = 132;