🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.unix
Article #893

pathconf _PC_PATH_MAX

#893
From: Eric Gisin
Date: Fri, 18 Dec 1992 10:40
14 lines
845 bytes
Submitted-by: eric@mks.com (Eric Gisin)

On a system with a defined, constant value for PATH_MAX,
what would pathconf("/tmp", _PC_PATH_MAX) return?
The books I have, Zlotnick and O'Reilly, say PATH_MAX-4.
The systems I have say PATH_MAX.
Who is right? If it is PATH_MAX-4, how would fpathconf work?

I have not seen a POSIX.1 interpretation on this. Is there one?

	Eric Gisin, Mortice Kern Systems.


Volume-Number: Volume 29, Number 82
Technical Details
Message-ID: <1gs9qaINN9rl@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: eric@mks.com (Eric Gisin)
Newsgroups: comp.std.unix
Subject: pathconf _PC_PATH_MAX
Date: 18 Dec 1992 02:40:10 -0800
Organization: UUNET Communications
Lines: 14
Sender: sef@ftp.UU.NET
Approved: sef@ftp.uucp (Moderator, Sean Eric Fagan)
Message-ID: <1gs9qaINN9rl@ftp.UU.NET>
NNTP-Posting-Host: ftp.uu.net
X-Submissions: std-unix@uunet.uu.net