xref: /csrg-svn/lib/libc/stdio/printf.c (revision 26657)
1 #if defined(LIBC_SCCS) && !defined(lint)
2 static char sccsid[] = "@(#)printf.c	5.2 (Berkeley) 03/09/86";
3 #endif LIBC_SCCS and not lint
4 
5 #include	<stdio.h>
6 
7 printf(fmt, args)
8 char *fmt;
9 {
10 	_doprnt(fmt, &args, stdout);
11 	return(ferror(stdout)? EOF: 0);
12 }
13