diff options
author | gahr <gahr@FreeBSD.org> | 2013-01-30 14:59:26 +0000 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-01-30 14:59:26 +0000 |
commit | e7ca48d15b0d2114430b38f3d1cd793d3e50a3ae (patch) | |
tree | 6bbe6632836c64feeb815c9657b3e9f53e585f21 /lib/libc/stdio/Makefile.inc | |
parent | 7b6927c4af42d3e6a1b704f87f0eae971121b096 (diff) | |
download | FreeBSD-src-e7ca48d15b0d2114430b38f3d1cd793d3e50a3ae.zip FreeBSD-src-e7ca48d15b0d2114430b38f3d1cd793d3e50a3ae.tar.gz |
Add fmemopen(3), an interface to get a FILE * from a buffer in memory, along
with the respective regression test.
See http://pubs.opengroup.org/onlinepubs/9699919799/functions/fmemopen.html
Reviewed by: cognet
Approved by: cognet
Diffstat (limited to 'lib/libc/stdio/Makefile.inc')
-rw-r--r-- | lib/libc/stdio/Makefile.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/stdio/Makefile.inc b/lib/libc/stdio/Makefile.inc index 6570051..bc3b9e5 100644 --- a/lib/libc/stdio/Makefile.inc +++ b/lib/libc/stdio/Makefile.inc @@ -8,7 +8,8 @@ SRCS+= _flock_stub.c asprintf.c clrerr.c dprintf.c \ fclose.c fcloseall.c fdopen.c \ feof.c ferror.c fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetwc.c \ fgetwln.c fgetws.c \ - fileno.c findfp.c flags.c fopen.c fprintf.c fpurge.c fputc.c fputs.c \ + fileno.c findfp.c flags.c fmemopen.c fopen.c fprintf.c fpurge.c \ + fputc.c fputs.c \ fputwc.c fputws.c fread.c freopen.c fscanf.c fseek.c fsetpos.c \ ftell.c funopen.c fvwrite.c fwalk.c fwide.c fwprintf.c fwscanf.c \ fwrite.c getc.c getchar.c getdelim.c getline.c \ @@ -48,7 +49,7 @@ MLINKS+=ferror.3 ferror_unlocked.3 \ MLINKS+=fflush.3 fpurge.3 MLINKS+=fgets.3 gets.3 MLINKS+=flockfile.3 ftrylockfile.3 flockfile.3 funlockfile.3 -MLINKS+=fopen.3 fdopen.3 fopen.3 freopen.3 +MLINKS+=fopen.3 fdopen.3 fopen.3 freopen.3 fopen.3 fmemopen.3 MLINKS+=fputs.3 puts.3 MLINKS+=fread.3 fwrite.3 MLINKS+=fseek.3 fgetpos.3 fseek.3 fseeko.3 fseek.3 fsetpos.3 fseek.3 ftell.3 \ |