diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-06-09 15:49:35 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2008-06-09 15:49:35 +0000 |
| commit | f81fb4445b17557964679fa9bab4f61bce571f95 (patch) | |
| tree | 4823a54a9ebcab1042814df9bd824076f7b2b3cc /man3/stdarg.3 | |
| parent | 84c517a450239fd846ebb0a4e576f02fe395d609 (diff) | |
| download | man-pages-f81fb4445b17557964679fa9bab4f61bce571f95.tar.gz | |
s/\\'/\\(aq/
Diffstat (limited to 'man3/stdarg.3')
| -rw-r--r-- | man3/stdarg.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/stdarg.3 b/man3/stdarg.3 index 03e75f68dd..d5c2280d83 100644 --- a/man3/stdarg.3 +++ b/man3/stdarg.3 @@ -249,7 +249,7 @@ foo(va_alist) .in On some systems, .I va_end -contains a closing \'}\' matching a \'{\' in +contains a closing \(aq}\(aq matching a \(aq{\(aq in .IR va_start , so that both macros must occur in the same function, and in a way that allows this. @@ -289,15 +289,15 @@ foo(char *fmt, ...) va_start(ap, fmt); while (*fmt) switch (*fmt++) { - case \'s\': /* string */ + case \(aqs\(aq: /* string */ s = va_arg(ap, char *); printf("string %s\en", s); break; - case \'d\': /* int */ + case \(aqd\(aq: /* int */ d = va_arg(ap, int); printf("int %d\en", d); break; - case \'c\': /* char */ + case \(aqc\(aq: /* char */ /* need a cast here since va_arg only takes fully promoted types */ c = (char) va_arg(ap, int); |
