diff options
author | ru <ru@FreeBSD.org> | 2004-07-02 23:52:20 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-07-02 23:52:20 +0000 |
commit | 01548ace1533487f9c0488f55112c9d8641f8184 (patch) | |
tree | 23294a96f715e1e5bc35c1029ec151c90ee95b96 /lib/libc/gen/getobjformat.3 | |
parent | 47f5e31e2bb626743fa9e912918201fe505b1419 (diff) | |
download | FreeBSD-src-01548ace1533487f9c0488f55112c9d8641f8184.zip FreeBSD-src-01548ace1533487f9c0488f55112c9d8641f8184.tar.gz |
Mechanically kill hard sentence breaks.
Diffstat (limited to 'lib/libc/gen/getobjformat.3')
-rw-r--r-- | lib/libc/gen/getobjformat.3 | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/libc/gen/getobjformat.3 b/lib/libc/gen/getobjformat.3 index f3c1573..8705f01 100644 --- a/lib/libc/gen/getobjformat.3 +++ b/lib/libc/gen/getobjformat.3 @@ -43,7 +43,8 @@ function queries several sources to determine the preferred object file format, and copies its name into a buffer provided by the caller. .Pp -The object file format is determined as follows. If +The object file format is determined as follows. +If .Va argv is .No non- Ns Ev NULL @@ -70,9 +71,11 @@ Otherwise, a built-in system default object file format is returned. points to a user-supplied buffer into which the name of the object file format is copied. .Va bufsize -gives the size of the buffer in bytes. The string placed in +gives the size of the buffer in bytes. +The string placed in .Va buf -is always null-terminated. It is an error if the buffer is too +is always null-terminated. +It is an error if the buffer is too small to hold the null-terminated name. .Pp .Va argv @@ -104,7 +107,8 @@ null terminator. If the supplied buffer is too small to hold the object file format and its null terminator, .Fn getobjformat -returns -1. In that case, the contents of the buffer and argument +returns -1. +In that case, the contents of the buffer and argument vector supplied by the caller are indeterminate. .Sh ENVIRONMENT .Bl -tag -width OBJFORMAT @@ -118,7 +122,8 @@ is set, it overrides the default object file format. .Sh FILES .Bl -tag -width /etc/objformat -compact .It Pa /etc/objformat -If present, specifies the object file format to use. Syntax is +If present, specifies the object file format to use. +Syntax is .Ql OBJFORMAT=xxx . .El .Sh SEE ALSO |