From 00bf170e31343ccc4fac7a63f6a3acf5e76c3616 Mon Sep 17 00:00:00 2001 From: Larry Wall Date: Wed, 8 Aug 1990 17:07:07 +0000 Subject: perl 3.0 patch #25 patch #19, continued See patch #19. --- h2pl/eg/sizeof.ph | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 h2pl/eg/sizeof.ph (limited to 'h2pl') diff --git a/h2pl/eg/sizeof.ph b/h2pl/eg/sizeof.ph new file mode 100644 index 0000000000..285bff1859 --- /dev/null +++ b/h2pl/eg/sizeof.ph @@ -0,0 +1,14 @@ +$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; -- cgit v1.2.1