* Help with fcntl SETFL options across platforms
@ 1994-11-24 7:54 C. Titus Brown
0 siblings, 0 replies; only message in thread
From: C. Titus Brown @ 1994-11-24 7:54 UTC (permalink / raw)
Hello, all you wise people who actually understand fcntl on different
platforms... :)
I'm working on releasing some software (PD) for different machines, and
I'm having some difficulty regarding fcntl usage between SunOS and OSF/1.
'm doing two things with fcntl, both using the SETFL option,
and it doesn't seem to work the same on different platforms (no surprise
there!)
Quickly to the nitty gritty: fcntl(fd, F_SETFL, O_NDELAY). This works on
both OSF/1 and HP-UX, but not on SunOS 4. FNDELAY works on SunOS 4.
What I'm trying to do is set fcntl to be non-blocking on reads and writes.
I get weird results using O_NONBLOCK on OSF/1 machines; could someone
explain the differences between O_NDELAY, O_NONBLOCK, and FNDELAY? I'm
sure it has something to do with the POSIX standards, but I'm not sure
what.
I'd be happy to summarize if there's a few requests for this info...
Thanks,
--Titus
(P.S. Please e-mail your responses to me; I'll probably miss them in the
noise of the group otherwise!)
--
Titus Brown, brown@krl.caltech.edu.
Kellogg Radiation Lab - where the screens don't need electricity to glow...
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1994-11-24 7:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-24 7:54 Help with fcntl SETFL options across platforms C. Titus Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox