jilles
e3a8d034ba
getcwd(3): Clarify that EACCES may or may not be checked.
...
POSIX permits but does not require checking access on the current and parent
directories.
Because various programs do not like it if getcwd(3) fails, it seems best
to avoid checking access as much as possible. There are various reports in
GNATS about this (search for getcwd).
Our getcwd(3) implementation first queries the kernel for the pathname
directly, which does not check any permissions but sometimes fails, and then
falls back to reading all parent directories for the names.
PR: standards/44425
MFC after: 2 weeks
2010-04-17 15:52:50 +00:00
imp
cd1f140ae4
Per Regents of the University of Calfornia letter, remove advertising
...
clause.
# If I've done so improperly on a file, please let me know.
2007-01-09 00:28:16 +00:00
ru
1c23ef339b
mdoc(7): Use the new feature of the .In macro.
2003-09-08 19:57:22 +00:00
ru
623da62a5a
mdoc(7) police: Use the new .In macro for #include statements.
2001-10-01 16:09:29 +00:00
ru
317b7d8e37
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 13:41:46 +00:00
dd
bd3a809aec
getcwd(3) is defined by POSIX, not ISO C.
...
Approved by: bde
2001-06-28 19:27:02 +00:00
ru
3ff23f918d
.St -ansiC -> .St -isoC
2001-02-26 13:23:47 +00:00
ru
8a6f8b5fe4
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
asmodai
5e2215e426
Whitespace only change: trim trailing whitespace.
2000-10-30 13:23:19 +00:00
phantom
a60a1ebfb4
Use `Er' variable to define first column width in ERRORS section.
2000-05-06 12:07:59 +00:00
phantom
5401879e3b
Introduce ".Lb" macro to libc manpages.
...
More libraries manpages updates following.
2000-04-21 09:42:15 +00:00
peter
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
bde
77a5ba68eb
Fixed spelling of EACCES.
1997-11-23 17:58:55 +00:00
mpp
ba6f97d58c
Fixed various problems: typos, grammer, missing include files
...
wrong function type declarations, and wrong argument type
declarations.
1996-05-23 01:05:25 +00:00
ache
75e8048c23
stdio.h --> unistd.h
1995-03-09 17:45:23 +00:00
dg
82caf4596d
Backed out Keith Bostic's getcwd/$PWD hack. It is causing things to break
...
all over the place.
1995-02-07 05:52:57 +00:00
phk
184bec765a
Document the getenv(PWD) feature.
1995-02-05 18:14:38 +00:00
rgrimes
be22b15ae2
BSD 4.4 Lite Lib Sources
1994-05-27 05:00:24 +00:00