Konstantin Belousov 9d79ec20fb 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
2010-04-20 10:16:44 +00:00
..
2009-10-26 17:27:30 +00:00
2010-03-02 16:58:04 +00:00
2010-04-20 10:16:44 +00:00
2010-02-01 20:53:55 +00:00
2010-01-02 09:58:07 +00:00
2010-01-02 09:58:07 +00:00
2010-03-09 19:16:43 +00:00
2010-01-21 15:01:09 +00:00
2010-01-02 09:58:07 +00:00