]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Further refinements of ptsname_r(3) interface:
authorXin LI <delphij@FreeBSD.org>
Tue, 20 Oct 2020 01:29:45 +0000 (01:29 +0000)
committerXin LI <delphij@FreeBSD.org>
Tue, 20 Oct 2020 01:29:45 +0000 (01:29 +0000)
commit5011fb430a898f8ef4f53f4ae2034d029cd388c0
tree2e8cf93c74ff5112ccd9fcf0b8d83b3f387c5b3c
parentbce74ff0ce287821c77de88ccd679031a17c65fb
Further refinements of ptsname_r(3) interface:

 - Hide ptsname_r under __BSD_VISIBLE for now as the specification
   is not finalized at this time.
 - Keep Symbol.map sorted.
 - Avoid the interposing of ptsname_r(3) from an user application
   from breaking ptsname(3) by making the implementation a static
   method and call the static function from ptsname(3) instead.

Reported by: kib
Reviewed by: kib, jilles
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D26845
include/stdlib.h
lib/libc/stdlib/Symbol.map
lib/libc/stdlib/ptsname.c