summaryrefslogtreecommitdiff
path: root/man3/strtol.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-10-28 10:37:22 -0500
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-10-29 14:54:23 -0500
commitb43a3b301e589a673983336d6196d3eed64ab9b1 (patch)
tree1fad15c323db0cc36ab7b63281e0852b9d691879 /man3/strtol.3
parent7e1d89c9b20df8da68f53fa5ab44544017ae2f9a (diff)
eventfd.2, execve.2, getdents.2, ioprio_set.2, mprotect.2, signalfd.2, timerfd_create.2, wait.2, backtrace.3, clock_getcpuclockid.3, end.3, fmemopen.3, fopencookie.3, frexp.3, getdate.3, getgrouplist.3, getprotoent_r.3, getservent_r.3, gnu_get_libc_version.3, inet.3, inet_pton.3, makecontext.3, malloc.3, matherr.3, offsetof.3, pthread_attr_init.3, pthread_create.3, pthread_getattr_np.3, sem_wait.3, strftime.3, strtok.3, strtol.3, core.5, proc.5, cpuset.7, mq_overview.7: Global fix: Format user input in shell sessions in boldface
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/strtol.3')
-rw-r--r--man3/strtol.312
1 files changed, 6 insertions, 6 deletions
diff --git a/man3/strtol.3 b/man3/strtol.3
index 725febe7..730e2fad 100644
--- a/man3/strtol.3
+++ b/man3/strtol.3
@@ -188,18 +188,18 @@ Some examples of the results produced by this program are the following:
.in +4n
.nf
-$ ./a.out 123
+.RB "$" " ./a.out 123"
strtol() returned 123
-$ ./a.out \(aq 123\(aq
+.RB "$" " ./a.out \(aq 123\(aq"
strtol() returned 123
-$ ./a.out 123abc
+.RB "$" " ./a.out 123abc"
strtol() returned 123
Further characters after number: abc
-$ ./a.out 123abc 55
+.RB "$" " ./a.out 123abc 55"
strtol: Invalid argument
-$ ./a.out \(aq\(aq
+.RB "$" " ./a.out \(aq\(aq"
No digits were found
-$ ./a.out 4000000000
+.RB "$" " ./a.out 4000000000"
strtol: Numerical result out of range
.fi