artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7718a9
)
Use proper KNF in code example; d@
author
aaron
<aaron@openbsd.org>
Tue, 21 Mar 2000 14:08:35 +0000
(14:08 +0000)
committer
aaron
<aaron@openbsd.org>
Tue, 21 Mar 2000 14:08:35 +0000
(14:08 +0000)
share/man/man3/stdarg.3
patch
|
blob
|
history
diff --git
a/share/man/man3/stdarg.3
b/share/man/man3/stdarg.3
index
6bdba6f
..
45120f0
100644
(file)
--- a/
share/man/man3/stdarg.3
+++ b/
share/man/man3/stdarg.3
@@
-1,4
+1,4
@@
-.\" $OpenBSD: stdarg.3,v 1.
5 2000/03/19 19:25:2
5 aaron Exp $
+.\" $OpenBSD: stdarg.3,v 1.
6 2000/03/21 14:08:3
5 aaron Exp $
.\" $NetBSD: stdarg.3,v 1.3 1994/11/30 15:24:37 jtc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
@@
-157,7
+157,7
@@
void foo(char *fmt, ...)
va_start(ap, fmt);
while (*fmt)
- switch(*fmt++) {
+ switch
(*fmt++) {
case 's': /* string */
s = va_arg(ap, char *);
printf("string %s\en", s);