diff options
Diffstat (limited to 'man7/unix.7')
| -rw-r--r-- | man7/unix.7 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man7/unix.7 b/man7/unix.7 index 875f69eb8d..1ab70d5f2a 100644 --- a/man7/unix.7 +++ b/man7/unix.7 @@ -79,7 +79,7 @@ Various systems calls (for example, and .BR sendto (2)) take a -.I sockaddr_un +.I sockaddr_un argument as input. Some other system calls (for example, .BR getsockname (2), @@ -178,7 +178,7 @@ structure should have a value of at least: offsetof(struct sockaddr_un, sun_path)+strlen(addr.sun_path)+1 .fi .IP -or, more simply, +or, more simply, .I addrlen can be specified as .IR "sizeof(struct sockaddr_un)" . @@ -554,7 +554,7 @@ and when the socket address is retrieved on these implementations, there is no null terminator in .IR sun_path . -Applications that retrieve socket addresses can (portably) code +Applications that retrieve socket addresses can (portably) code to handle the possibility that there is no null terminator in .IR sun_path by respecting the fact that the number of valid bytes in the pathname is: |
