]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Further refinements of ptsname_r(3) interface:
authordelphij <delphij@FreeBSD.org>
Tue, 20 Oct 2020 01:29:45 +0000 (01:29 +0000)
committerdelphij <delphij@FreeBSD.org>
Tue, 20 Oct 2020 01:29:45 +0000 (01:29 +0000)
commitd01a379548cb1377d3a9f0c930587ad8ada7bc91
tree2e8cf93c74ff5112ccd9fcf0b8d83b3f387c5b3c
parentf665dac6c2080b31e6bcd29f64432f4249ec7c4e
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