summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoraaron <>2000-12-21 17:34:33 +0000
committeraaron <>2000-12-21 17:34:33 +0000
commit2af146e89f9886c34908a4c760e8d509fa676b07 (patch)
treeb0ea6ffba7544fd830943188c2fe180f6658cc14 /src
parente13651e9302e115ce2594138de47ff5a8657e14e (diff)
downloadopenbsd-2af146e89f9886c34908a4c760e8d509fa676b07.tar.gz
openbsd-2af146e89f9886c34908a4c760e8d509fa676b07.tar.bz2
openbsd-2af146e89f9886c34908a4c760e8d509fa676b07.zip
mdoc prefers `\e' as an escape character.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libc/net/getnameinfo.36
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/net/getnameinfo.3 b/src/lib/libc/net/getnameinfo.3
index 0f52f6e993..78ffc6e396 100644
--- a/src/lib/libc/net/getnameinfo.3
+++ b/src/lib/libc/net/getnameinfo.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getnameinfo.3,v 1.9 2000/08/09 23:12:04 itojun Exp $ 1.\" $OpenBSD: getnameinfo.3,v 1.10 2000/12/21 17:34:33 aaron Exp $
2.\" $KAME: getnameinfo.3,v 1.17 2000/08/09 21:16:17 itojun Exp $ 2.\" $KAME: getnameinfo.3,v 1.17 2000/08/09 21:16:17 itojun Exp $
3.\" 3.\"
4.\" Copyright (c) 1983, 1987, 1991, 1993 4.\" Copyright (c) 1983, 1987, 1991, 1993
@@ -204,7 +204,7 @@ if (getnameinfo(sa, sa->sa_len, hbuf, sizeof(hbuf), sbuf,
204 errx(1, "could not get numeric hostname"); 204 errx(1, "could not get numeric hostname");
205 /*NOTREACHED*/ 205 /*NOTREACHED*/
206} 206}
207printf("host=%s, serv=%s\\n", hbuf, sbuf); 207printf("host=%s, serv=%s\en", hbuf, sbuf);
208.Ed 208.Ed
209.Pp 209.Pp
210The following version checks if the socket address has reverse address mapping. 210The following version checks if the socket address has reverse address mapping.
@@ -217,7 +217,7 @@ if (getnameinfo(sa, sa->sa_len, hbuf, sizeof(hbuf), NULL, 0,
217 errx(1, "could not resolve hostname"); 217 errx(1, "could not resolve hostname");
218 /*NOTREACHED*/ 218 /*NOTREACHED*/
219} 219}
220printf("host=%s\\n", hbuf); 220printf("host=%s\en", hbuf);
221.Ed 221.Ed
222.\" 222.\"
223.Sh FILES 223.Sh FILES