git: fopencookie(3): Add a wrapper around funopen(3)
Antonio Huete Jimenez
tuxillo at crater.dragonflybsd.org
Sat Feb 4 07:40:55 PST 2023
commit a765cedf26cef470ba7deee42c365f0221690a1a
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date: Sat Feb 4 14:54:20 2023 +0100
fopencookie(3): Add a wrapper around funopen(3)
- Minor adjustment to _flags since ours reside on the public
interface.
- Untested. A unit test would be a good thing to have :)
Taken from : FreeBSD 877a840c080f
FreeBSD-Review: https://reviews.freebsd.org/D6282
Summary of changes:
include/stdio.h | 17 +++++
lib/libc/Versions.def | 6 +-
lib/libc/stdio/Makefile.inc | 3 +-
lib/libc/stdio/Symbol.map | 4 ++
lib/libc/stdio/fopencookie.3 | 156 ++++++++++++++++++++++++++++++++++++++++
lib/libc/stdio/fopencookie.c | 168 +++++++++++++++++++++++++++++++++++++++++++
lib/libc/stdio/funopen.3 | 3 +-
sys/sys/param.h | 3 +-
8 files changed, 356 insertions(+), 4 deletions(-)
create mode 100644 lib/libc/stdio/fopencookie.3
create mode 100644 lib/libc/stdio/fopencookie.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a765cedf26cef470ba7deee42c365f0221690a1a
--
DragonFly BSD source repository
More information about the Commits
mailing list