Portable mknod ?? does it exist?
Frank Wortner
frank at croton.dec.com
Wed Aug 2 02:29:06 AEST 1989
In article <178 at cerc.wvu.wvnet.edu.edu>, drs at cerc.wvu.wvnet.edu (Darrell Schiebel) writes:
= I have been attempting to write software utilizing named pipes on
= several hardware platforms. The same code seems to behave differently
= on each different platform.
=
= 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
= open fails with error "No such device or address" (ERRNO: 6)
= HP (HP-UX):
= mknod fails with error "Invalid argument" (ERRNO: 22)
I tried Darrell's example on a VAXstation II running UWS 2.0 (== Ultrix 3.0)
and a DECstation 3100 running UWS 2.1 (== Ultrix 3.1), and I could not
reproduce his results.
I get:
DEC (Ultrix-32 3.0/VAX and 3.1/RISC):
mknod works fine
read blocks
Frank
More information about the Comp.unix.wizards
mailing list