diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-12-27 11:42:50 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-12-27 12:32:44 +0100 |
| commit | 46b20ca1bb0f338c6e8d805faab262ef32502d24 (patch) | |
| tree | b2b4d0a339920698166a8ba3323e4c6bac897cf4 /man3/dlinfo.3 | |
| parent | c6beb8a167044b025e9c95610773a5764ccff760 (diff) | |
| download | man-pages-46b20ca1bb0f338c6e8d805faab262ef32502d24.tar.gz | |
ioctl_ns.2, keyctl.2, memfd_create.2, pidfd_send_signal.2, poll.2, seccomp.2, signalfd.2, timerfd_create.2, unshare.2, dlinfo.3, duplocale.3, fopencookie.3, getgrouplist.3, getifaddrs.3, getprotoent_r.3, getservent_r.3, insque.3, printf.3, pthread_attr_init.3, pthread_cancel.3, pthread_create.3, pthread_mutexattr_setrobust.3, pthread_setaffinity_np.3, qsort.3, sem_wait.3, core.5, elf.5, aio.7, epoll.7, pkeys.7, system_data_types.7, unix.7: Use periods more consistently inside code comments
In general, complete sentences in free-standing comments
should be terminated by periods.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/dlinfo.3')
| -rw-r--r-- | man3/dlinfo.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/man3/dlinfo.3 b/man3/dlinfo.3 index beca4a1256..b1b9544106 100644 --- a/man3/dlinfo.3 +++ b/man3/dlinfo.3 @@ -277,7 +277,7 @@ main(int argc, char *argv[]) exit(EXIT_FAILURE); } - /* Obtain a handle for shared object specified on command line */ + /* Obtain a handle for shared object specified on command line. */ handle = dlopen(argv[1], RTLD_NOW); if (handle == NULL) { @@ -286,14 +286,14 @@ main(int argc, char *argv[]) } /* Discover the size of the buffer that we must pass to - RTLD_DI_SERINFO */ + RTLD_DI_SERINFO. */ if (dlinfo(handle, RTLD_DI_SERINFOSIZE, &serinfo) == \-1) { fprintf(stderr, "RTLD_DI_SERINFOSIZE failed: %s\en", dlerror()); exit(EXIT_FAILURE); } - /* Allocate the buffer for use with RTLD_DI_SERINFO */ + /* Allocate the buffer for use with RTLD_DI_SERINFO. */ sip = malloc(serinfo.dls_size); if (sip == NULL) { @@ -302,14 +302,14 @@ main(int argc, char *argv[]) } /* Initialize the \(aqdls_size\(aq and \(aqdls_cnt\(aq fields in the newly - allocated buffer */ + allocated buffer. */ if (dlinfo(handle, RTLD_DI_SERINFOSIZE, sip) == \-1) { fprintf(stderr, "RTLD_DI_SERINFOSIZE failed: %s\en", dlerror()); exit(EXIT_FAILURE); } - /* Fetch and print library search list */ + /* Fetch and print library search list. */ if (dlinfo(handle, RTLD_DI_SERINFO, sip) == \-1) { fprintf(stderr, "RTLD_DI_SERINFO failed: %s\en", dlerror()); |
