🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.unix
Article #393

functions and headers

#393
From: Karl Heuer
Date: Tue, 24 Jul 1990 22:29
16 lines
1215 bytes
From:  karl@IMA.IMA.ISC.COM (Karl Heuer)

In which header should ctermid() and cuserid() be declared?  Traditionally
they have been found in <stdio.h>, which is where their L_ constants are
defined, but they aren't listed there in 2.8.3.  Is this an oversight which
is being corrected in a supplement, or do these functions go in <unistd.h>
(as implied by the default clause of 2.8.3)?

How about popen() and pclose()?  These aren't listed in 1003.1 at all,
presumably because they use shell syntax and so they're described by 1003.2.
Should they go in <stdio.h>, <unistd.h>, or nowhere?  (XPG3 says they're
declared in <stdio.h>, but does not mark this as an extension over POSIX.)

Karl W. Z. Heuer (karl@kelp.ima.isc.com or ima!kelp!karl), The Walking Lint

Volume-Number: Volume 20, Number 141
Technical Details
Message-ID: <397@usenix.ORG>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!usenix!std-unix

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!usenix!std-unix
From: karl@IMA.IMA.ISC.COM (Karl Heuer)
Newsgroups: comp.std.unix
Subject: functions and headers
Message-ID: <397@usenix.ORG>
Date: 24 Jul 90 22:29:02 GMT
Sender: std-unix@usenix.ORG
Reply-To: karl@IMA.IMA.ISC.COM (Karl Heuer)
Organization: Interactive Systems, Cambridge, MA 02138-5302
Lines: 16
Approved: jsq@usenix (Moderator, John Quarterman)