summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/Makefile.inc
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2006-04-22 15:09:15 +0000
committerdeischen <deischen@FreeBSD.org>2006-04-22 15:09:15 +0000
commitfa251f3c898137af2d52090430b62484040c0b9f (patch)
treeeb538745a1bbe98b41a010bfe61eadd8ae9c02ae /lib/libc/stdio/Makefile.inc
parent99320e5a001df974492e41d02ec5d9de19dddb64 (diff)
downloadFreeBSD-src-fa251f3c898137af2d52090430b62484040c0b9f.zip
FreeBSD-src-fa251f3c898137af2d52090430b62484040c0b9f.tar.gz
Add fcloseall() to libc. This removes the need to export _cleanup().
Linux also provides an fcloseall() implementation. Discussed on: arch
Diffstat (limited to 'lib/libc/stdio/Makefile.inc')
-rw-r--r--lib/libc/stdio/Makefile.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/stdio/Makefile.inc b/lib/libc/stdio/Makefile.inc
index d49e2fa..d815c97 100644
--- a/lib/libc/stdio/Makefile.inc
+++ b/lib/libc/stdio/Makefile.inc
@@ -4,9 +4,9 @@
# stdio sources
.PATH: ${.CURDIR}/stdio
-SRCS+= _flock_stub.c asprintf.c clrerr.c fclose.c fdopen.c feof.c ferror.c \
- fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetwc.c fgetwln.c \
- fgetws.c \
+SRCS+= _flock_stub.c asprintf.c clrerr.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 \
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 \
@@ -36,6 +36,7 @@ MAN+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fgetws.3 \
printf.3 putc.3 putwc.3 remove.3 scanf.3 setbuf.3 stdio.3 tmpnam.3 \
ungetc.3 ungetwc.3 wprintf.3 wscanf.3
+MLINKS+=fclose.3 fcloseall.3
MLINKS+=ferror.3 ferror_unlocked.3 \
ferror.3 clearerr.3 ferror.3 clearerr_unlocked.3 \
ferror.3 feof.3 ferror.3 feof_unlocked.3 \
OpenPOWER on IntegriCloud