🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.unix
Article #857

Is fopen("fifo","a") legal?

#857
From: Thomas Koenig
Date: Wed, 23 Dec 1992 21:30
14 lines
907 bytes
Submitted-by: ig25@fg20.rz.uni-karlsruhe.de (Thomas Koenig)

Is it legal in a POSIX - conforming system to open a fifo for append? 

In other words, would I have to stat() every file I wish to append to
and see wether it is a fifo or not?

-- 
Thomas Koenig, ig25@rz.uni-karlsruhe.de, ig25@dkauni2.bitnet
The joy of engineering is to find a straight line on a double logarithmic
diagram.


Volume-Number: Volume 29, Number 84
Technical Details
Message-ID: <1halpvINN9fe@ftp.UU.NET>
Path: arc1-ca.pugleaf.net!sparky!uunet!not-for-mail

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!not-for-mail
From: ig25@fg20.rz.uni-karlsruhe.de (Thomas Koenig)
Newsgroups: comp.std.unix
Subject: Is fopen("fifo","a") legal?
Date: 23 Dec 1992 13:30:39 -0800
Organization: University of Karlsruhe, Germany
Lines: 14
Sender: sef@ftp.UU.NET
Approved: sef@ftp.uucp (Moderator, Sean Eric Fagan)
Message-ID: <1halpvINN9fe@ftp.UU.NET>
Reply-To: ig25@rz.uni-karlsruhe.de
NNTP-Posting-Host: ftp.uu.net
X-Submissions: std-unix@uunet.uu.net