Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!decwrl!pyramid!prls!philabs!sbcs!rosalia From: rosalia@sbcs (Mark Galassi) Newsgroups: comp.unix.wizards Subject: where to find info on named pipes Message-ID: <822@sbcs.sunysb.edu> Date: Tue, 17-Nov-87 17:07:50 EST Article-I.D.: sbcs.822 Posted: Tue Nov 17 17:07:50 1987 Date-Received: Sat, 21-Nov-87 12:48:29 EST References: <15973@topaz.rutgers.edu> <371@picuxa.UUCP> Organization: State University of New York at Stony Brook Lines: 27 Summary: books on system calls > > ... Anybody know where the documentation [on FIFOs] is hiding? Maurice Bach describes the implementation of FIFOs, and how the various file access system calls treat them as opposed to normal files, but there are two books on UNIX system calls which treat FIFOs quite extensively. These two books are about UNIX *externals* so they tell you what you can do with these system calls, not how they are implemented. One is Programming the UNIX System by Dunsmuir and Davies (Halsted Press, ISBN=0-470-20192-4), and the other is Advanced UNIX Programming by Marc J. Rochkind (the famous Prentice Hall Software Series, ISBN=0-13-011800-1). They are both quite nice, and there is a good feature: neither of the three authors knows much about BSD (or at least they don't talk about it in their books). Result: the discussions use a common denominator, which is sort of System V.2, but with lots on what can be don if you only have V7 or System III. You can use FIFOs on Suns (and from what someone said, also on pyramids, though I have not tried myself), and it would certainly be a nice and not-too-hard project to write a library with mkfifo() that uses mknod(...FIFO) on system III/V, and socket() and bind() with BSD 4.[23] and 2.10. Someone ambitious and patient could even write a V7 binding using files (I'm not sure how). -- Mark Galassi ...!{pyramid,philabs,allegra}!sbcs!mozart!rosalia { these opinions are mine, and should be everybody else's :-) }