diff options
author | kib <kib@FreeBSD.org> | 2010-04-20 10:16:44 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-04-20 10:16:44 +0000 |
commit | 0be03f320b674f387da392d9e4fece5b67a79ae1 (patch) | |
tree | 49cd6b92975d51b11b3034ce84d086a90b7f707b /include/proc_service.h | |
parent | df535bd79d3648211cc1b5783e543ab3c1bea2bc (diff) | |
download | FreeBSD-src-0be03f320b674f387da392d9e4fece5b67a79ae1.zip FreeBSD-src-0be03f320b674f387da392d9e4fece5b67a79ae1.tar.gz |
Slightly modernize realpath(3).
SUSv4 requires that implementation returns EINVAL if supplied path is NULL,
and ENOENT if path is empty string [1].
Bring prototype in conformance with SUSv4, adding restrict keywords.
Allow the resolved path buffer pointer be NULL, in which case realpath(3)
allocates storage with malloc().
PR: kern/121897 [1]
MFC after: 2 weeks
Diffstat (limited to 'include/proc_service.h')
0 files changed, 0 insertions, 0 deletions