🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Karl Heuer Tue, 24 Jul 1990 22:29
functions and headers
#393
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads