| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Show the best ways to encode a dynamic and static buffer.
input + ok schwarze@, ok jmc@
|
|
stravis(3) is an OpenBSD extension that was added recently.
input + ok schwarze@, jmc@, deraadt@
|
|
Moved the return values from the description to a proper return values
section. Broke up the description into function description followed
by a subsection for the range and encoding. Replaced srclen with
strlen(src) when srclen isn't an argument. Moved the common flag argument
to its own paragraph.
input schwarze@, input + ok jmc@
|
|
|
|
|
|
ok deraadt@
|
|
|
|
discussed with millert and guenther
ok guenther
|
|
idiotically accepts more then two hex digits following the \x, even
on platforms where a char has 8 bits. It is therefore dangerous to have
an almost-bit-not-quite compatible format in vis(3).
The VIS_ALL (encode all characters) option introduced in the same commit
remains.
|
|
and VIS_HEX - use C89 \xff style hexadecimal encoding.
Teach unvis(3) how to deal with the hex encoding.
feedback and ok millert@ chl@
|
|
|
|
|
|
so mark up the opening bracket with .Pf;
remove non- -mdoc .br;
|
|
From Solar Designer based on changes in FreeBSD. OK deraadt@
|
|
termination with '\0') vs. null termination.
Input from krw@, jaredy@, jmc@. OK deraadt@
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
|
|
if we had to truncate, and don't NUL-terminate if size == 0.
|
|
|
|
|
|
value similar to snprintf(3) and strlcpy(3).
|
|
|
|
|
|
|
|
* except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
working on some scripts for fixing formatting errors in mdoc'd man pages
Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...
|
|
|
|
- only use the .Dv NULL form when referring explicitly to a function
argument or return value
- otherwise, use these forms:
o non-null
o null-terminated (hyphenated form for predicate adjective)
o else, null terminated, or null terminate, whichever the case
o null pointer, null byte, null string, etc.
- may use NUL to refer to an ASCII NUL, but it doesn't need a .Tn macro
In general, capitalizing the word "null" everywhere is unnecessary and makes
the man pages harder to read. The above is consistent with popular programming
texts (i.e., K&R, Stevens).
|
|
between NUL and NULL, i.e., don't use the .Dv (defined variable) macro when
referring to an ASCII NUL
|
|
- Sort xrefs by section, and then alphabetically.
- Add missing commas between xref items.
- Remove commas from the last xref entry.
- Remove duplicate entries.
|
|
|
|
Make sure everything uses {SYS,}LIBC_SCCS properly
|
|
|
|
|