Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!h.cs.wvu.wvnet.edu!cerc.wvu.wvnet.edu!drs From: drs@cerc.wvu.wvnet.edu (Darrell Schiebel) Newsgroups: comp.unix.wizards Subject: Re: Portable mknod ?? does it exist? Summary: The HP-UX OS Used Message-ID: <179@cerc.wvu.wvnet.edu.edu> Date: 1 Aug 89 14:19:05 GMT References: <178@cerc.wvu.wvnet.edu.edu> <14020069@hpisod2.HP.COM> Sender: news@cerc.wvu.wvnet.edu Lines: 35 In article <14020069@hpisod2.HP.COM>, decot@hpisod2.HP.COM (Dave Decot) writes: > HP 9000 Series 800 (HP-UX 3.1) > mknod works fine > read blocks > > What release were you using? Here is the Release and The Run of the Code as Posted HP-UX holly A.B3.01 B 9000/835 Welcome to HP-UX on the Series 800. [HP Release A.B3.00.5B] hp: hpnod ERRNO: 22 writer: mknod failed: Invalid argument > Note, though, that the use of the constant 0010000 is not guaranteed to > be portable; you should really be using the macro S_IFIFO from > instead. I agree, but I wanted to make sure everything was correct, which is the reason the constant 0010000 was used. The code (including constant definition) was taken directly from an example program in an HP manual (then altered for debugging). (HP 9000 Series 800: Programmer Series; Real-Time Programming Manual. Manual Part #: 92453-90003, Page: 10-11) Darrell Schiebel Concurrent Engineering Research Center drs@cerc.wvu.wvnet.edu