Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!tut.cis.ohio-state.edu!att!dptg!lzmi! From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.unix.wizards Subject: Re: Portable mknod ?? does it exist? Message-ID: <1402069@hpisod2.HP.COM> Date: 31 Jul 89 17:43:53 GMT References: <178@cerc.wvu.wvnet.edu.edu> Organization: Hewlett Packard Cupertino Lines: 37 Pah: dptg!att!tut.cis.ohio-state.edu!cica!iuvax!mailrus!ames!bionet!apple!motcsd!hpda!hpcupt1!hpisod2!decot > Sun (SunOS Release 4.0): > mknod works fine > read blocks > Silicon Graphics (Iris 4D1-3.1D IP6): > mknod works fine > read does not block > DEC (Ultrix-32 V3.0): > mknod works fine > openfails with error "No such device or address" (ERRNO: 6) > HP (HP-UX): > mknod fails with error "Invalid argument" (> > Does anyone have any suggestions on how to ake this portable ? > Or an alternative to named pipes which is portable? The posted code works fine on all HP-UX syste HP 9000 Series 300 (HP-UX 6.2) mknod wors fine read blocks HP 9000 Series 300 (HP-UX 6.5) mknod works fine read blocks HP 9000 Series 800 (HP-UX 3.1) read blocks What release were you using? Note, though, that the use of the constant 0010000 is ot guaranteed to be portable; you should really be using the instead. HP-UX 7.0 (for all HP-UX systems) will support the mkfifo() function. Dave ecotHewlett-Packard