]> git.ipfire.org Git - thirdparty/glibc.git/commit
support: Implement 'xfmemopen' for seamless 'fmemopen' use
authorMaciej W. Rozycki <macro@redhat.com>
Fri, 5 Sep 2025 10:53:31 +0000 (11:53 +0100)
committerMaciej W. Rozycki <macro@redhat.com>
Fri, 5 Sep 2025 10:53:31 +0000 (11:53 +0100)
commitfe709cc24578ecfd2ff5b07e10e3829fcb55075b
tree81ca7eb7110c074f5745e9cbfeec66d18a1de950
parenta0dc87da2a689f3570a11a80ca8876bfb7ddcca6
support: Implement 'xfmemopen' for seamless 'fmemopen' use

Add 'xfmemopen' wrapper for seamless 'fmemopen' use in tests, following
'xfopen', 'xfclose', etc., and providing a standardized error reporting
facility.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
support/Makefile
support/xfmemopen.c [new file with mode: 0644]
support/xstdio.h