]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add mkostempsat(3).
authormarkj <markj@FreeBSD.org>
Mon, 29 Jul 2019 19:02:16 +0000 (19:02 +0000)
committermarkj <markj@FreeBSD.org>
Mon, 29 Jul 2019 19:02:16 +0000 (19:02 +0000)
commita4c47e1ddee5bbf6407a4c01a0274ed274a9beda
tree04665d589244b53f1832b69610c41753a73cdd3d
parenta1a1b094141faff327e301c27e636361fc5f660f
Add mkostempsat(3).

This is a variant of mkostemps() which takes a directory descriptor and
returns a descriptor for a tempfile relative to that directory.  Unlike
the other mktemp functions, mkostempsat() can be used in capability
mode.

Reviewed by: cem
Discussed with: brooks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21031
include/stdlib.h
lib/libc/stdio/Makefile.inc
lib/libc/stdio/Symbol.map
lib/libc/stdio/mktemp.3
lib/libc/stdio/mktemp.c