From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,d8bb373ae98ae322,start X-Google-Attributes: gidf8c9b,public X-Google-Thread: 1164f8,d8bb373ae98ae322,start X-Google-Attributes: gid1164f8,public X-Google-Thread: f678f,d8bb373ae98ae322,start X-Google-Attributes: gidf678f,public X-Google-Thread: 11035d,d8bb373ae98ae322,start X-Google-Attributes: gid11035d,public X-Google-Thread: 10d532,d8bb373ae98ae322,start X-Google-Attributes: gid10d532,public From: alti@coltrane.tcs.informatik.uni-muenchen.de (Thorsten Altenkirch) Subject: ioctl from SUNOS to OSF (DEC alpha) Date: 1996/05/08 Message-ID: #1/1 X-Deja-AN: 153766025 distribution: world organization: LMU Munich, Theoretical Computer Science newsgroups: comp.sys.dec,comp.unix.osf,comp.unix.osf.misc,comp.unix.questions,comp.unix.solaris I am trying to port a C++-program from SUN to a DIGITAL alpha under DIGITALs OSF Unix. This program contains the call ioctl(fd, FIONREAD, &size) Here OSF and BSD differ and FIONREAD is (apparently) not defined under OSF. Does anybody know what an appropriate replacement would be? I am very grateful for any advice. Please reply by email. Thanks a lot, Thorsten -- Thorsten Altenkirch phone : (+49 89) 2178-2209 Theoretical Computer Science fax : (+49 89) 2178-2238 LMU, Munich, Germany Oettingenstr 67, D105 http://www.informatik.uni-muenchen.de/tcs/mitarbeiter/alti/index.html