History log of /openbsd-current/lib/libc/gen/dirname.3
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.24 20-Oct-2020 naddy

Align the basename(3) and dirname(3) prototypes with the POSIX spec:
Both functions take a non-const parameter. Implementations may modify
the passed string, even though ours do not.

ok stsp@ deraadt@ millert@


Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.23 08-Mar-2019 benno

remove a sentence that was once helpful when dirname.3 and basename.3
shared one manpage.
ok florian@


# 1.22 25-Jan-2019 millert

I am retiring my old email address; replace it with my OpenBSD one.


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.21 08-May-2017 millert

Update STANDARDS section, these are now in XSI BASE.


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.20 30-Sep-2013 millert

Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.19 05-Jun-2013 tedu

Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.18 01-Apr-2010 jmc

WARNINGS -> CAVEATS, and a little neccessary cleanup;


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.17 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.16 30-Jul-2003 millert

Remove my email address from my entry in the AUTHORS section


# 1.15 17-Jun-2003 millert

Sync with share/misc/license.template and add missing DARPA credit
where applicable.


# 1.14 03-Jun-2003 millert

Use an ISC-tyle license for all my code; it is simpler and more permissive.


# 1.13 30-May-2003 jmc

- clean up macro abuse
- section reorder
- merge COMPATIBILITY


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.12 09-Jun-2002 deraadt

spelling; moritz@jodeit.org


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE
# 1.11 06-Aug-2001 mpech

o) We always close .Bl and .Bd tags;
o) .Sh AUTHOR -> .Sh AUTHORS;
o) We don't like .Pp before/after .Sh;
o) We don't like .Pp before/after .Rs/.Re;
o) NetBSD -> .Nx;
o) OpenBSD -> .Ox;

millert@ ok


Revision tags: OPENBSD_2_9_BASE
# 1.10 24-Dec-2000 aaron

Various repairs, mostly to get rid of short lines.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.9 18-Apr-2000 aaron

Repairs, mostly removing hard sentence breaks.


Revision tags: OPENBSD_2_6_BASE
# 1.8 17-Jul-1999 downsj

Add a warning that our implementation is different from other vendors (Solaris).


# 1.7 04-Jun-1999 aaron

After some constructive criticism from pjanzen@ and some e-mail tag:

- 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).


# 1.6 29-May-1999 aaron

repairs


# 1.5 28-May-1999 espie

proper const semantics for dirname & basename.

(this follows FreeBSD and Linux. Single Unix 2 is still illogical)


# 1.4 27-May-1999 aaron

more missing .El macros filled in


# 1.3 25-May-1999 aaron

punctuation


# 1.2 14-May-1999 alex

Removed duplicated references; millert


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.1 04-Jul-1998 deraadt

split dirname and basename man pages; add dirname


# 1.23 08-Mar-2019 benno

remove a sentence that was once helpful when dirname.3 and basename.3
shared one manpage.
ok florian@


# 1.22 25-Jan-2019 millert

I am retiring my old email address; replace it with my OpenBSD one.


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.21 08-May-2017 millert

Update STANDARDS section, these are now in XSI BASE.


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.20 30-Sep-2013 millert

Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.19 05-Jun-2013 tedu

Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.18 01-Apr-2010 jmc

WARNINGS -> CAVEATS, and a little neccessary cleanup;


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.17 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.16 30-Jul-2003 millert

Remove my email address from my entry in the AUTHORS section


# 1.15 17-Jun-2003 millert

Sync with share/misc/license.template and add missing DARPA credit
where applicable.


# 1.14 03-Jun-2003 millert

Use an ISC-tyle license for all my code; it is simpler and more permissive.


# 1.13 30-May-2003 jmc

- clean up macro abuse
- section reorder
- merge COMPATIBILITY


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.12 09-Jun-2002 deraadt

spelling; moritz@jodeit.org


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE
# 1.11 06-Aug-2001 mpech

o) We always close .Bl and .Bd tags;
o) .Sh AUTHOR -> .Sh AUTHORS;
o) We don't like .Pp before/after .Sh;
o) We don't like .Pp before/after .Rs/.Re;
o) NetBSD -> .Nx;
o) OpenBSD -> .Ox;

millert@ ok


Revision tags: OPENBSD_2_9_BASE
# 1.10 24-Dec-2000 aaron

Various repairs, mostly to get rid of short lines.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.9 18-Apr-2000 aaron

Repairs, mostly removing hard sentence breaks.


Revision tags: OPENBSD_2_6_BASE
# 1.8 17-Jul-1999 downsj

Add a warning that our implementation is different from other vendors (Solaris).


# 1.7 04-Jun-1999 aaron

After some constructive criticism from pjanzen@ and some e-mail tag:

- 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).


# 1.6 29-May-1999 aaron

repairs


# 1.5 28-May-1999 espie

proper const semantics for dirname & basename.

(this follows FreeBSD and Linux. Single Unix 2 is still illogical)


# 1.4 27-May-1999 aaron

more missing .El macros filled in


# 1.3 25-May-1999 aaron

punctuation


# 1.2 14-May-1999 alex

Removed duplicated references; millert


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.1 04-Jul-1998 deraadt

split dirname and basename man pages; add dirname


# 1.22 25-Jan-2019 millert

I am retiring my old email address; replace it with my OpenBSD one.


Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE
# 1.21 08-May-2017 millert

Update STANDARDS section, these are now in XSI BASE.


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.20 30-Sep-2013 millert

Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.19 05-Jun-2013 tedu

Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.18 01-Apr-2010 jmc

WARNINGS -> CAVEATS, and a little neccessary cleanup;


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.17 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.16 30-Jul-2003 millert

Remove my email address from my entry in the AUTHORS section


# 1.15 17-Jun-2003 millert

Sync with share/misc/license.template and add missing DARPA credit
where applicable.


# 1.14 03-Jun-2003 millert

Use an ISC-tyle license for all my code; it is simpler and more permissive.


# 1.13 30-May-2003 jmc

- clean up macro abuse
- section reorder
- merge COMPATIBILITY


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.12 09-Jun-2002 deraadt

spelling; moritz@jodeit.org


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE
# 1.11 06-Aug-2001 mpech

o) We always close .Bl and .Bd tags;
o) .Sh AUTHOR -> .Sh AUTHORS;
o) We don't like .Pp before/after .Sh;
o) We don't like .Pp before/after .Rs/.Re;
o) NetBSD -> .Nx;
o) OpenBSD -> .Ox;

millert@ ok


Revision tags: OPENBSD_2_9_BASE
# 1.10 24-Dec-2000 aaron

Various repairs, mostly to get rid of short lines.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.9 18-Apr-2000 aaron

Repairs, mostly removing hard sentence breaks.


Revision tags: OPENBSD_2_6_BASE
# 1.8 17-Jul-1999 downsj

Add a warning that our implementation is different from other vendors (Solaris).


# 1.7 04-Jun-1999 aaron

After some constructive criticism from pjanzen@ and some e-mail tag:

- 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).


# 1.6 29-May-1999 aaron

repairs


# 1.5 28-May-1999 espie

proper const semantics for dirname & basename.

(this follows FreeBSD and Linux. Single Unix 2 is still illogical)


# 1.4 27-May-1999 aaron

more missing .El macros filled in


# 1.3 25-May-1999 aaron

punctuation


# 1.2 14-May-1999 alex

Removed duplicated references; millert


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.1 04-Jul-1998 deraadt

split dirname and basename man pages; add dirname


Revision tags: OPENBSD_6_2_BASE
# 1.21 08-May-2017 millert

Update STANDARDS section, these are now in XSI BASE.


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.20 30-Sep-2013 millert

Use PATH_MAX, NAME_MAX and LOGIN_NAME_MAX not MAXPATHNAMELEN,
MAXNAMLEN or MAXLOGNAME where possible. OK deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.19 05-Jun-2013 tedu

Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.18 01-Apr-2010 jmc

WARNINGS -> CAVEATS, and a little neccessary cleanup;


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.17 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.16 30-Jul-2003 millert

Remove my email address from my entry in the AUTHORS section


# 1.15 17-Jun-2003 millert

Sync with share/misc/license.template and add missing DARPA credit
where applicable.


# 1.14 03-Jun-2003 millert

Use an ISC-tyle license for all my code; it is simpler and more permissive.


# 1.13 30-May-2003 jmc

- clean up macro abuse
- section reorder
- merge COMPATIBILITY


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.12 09-Jun-2002 deraadt

spelling; moritz@jodeit.org


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE
# 1.11 06-Aug-2001 mpech

o) We always close .Bl and .Bd tags;
o) .Sh AUTHOR -> .Sh AUTHORS;
o) We don't like .Pp before/after .Sh;
o) We don't like .Pp before/after .Rs/.Re;
o) NetBSD -> .Nx;
o) OpenBSD -> .Ox;

millert@ ok


Revision tags: OPENBSD_2_9_BASE
# 1.10 24-Dec-2000 aaron

Various repairs, mostly to get rid of short lines.


Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.9 18-Apr-2000 aaron

Repairs, mostly removing hard sentence breaks.


Revision tags: OPENBSD_2_6_BASE
# 1.8 17-Jul-1999 downsj

Add a warning that our implementation is different from other vendors (Solaris).


# 1.7 04-Jun-1999 aaron

After some constructive criticism from pjanzen@ and some e-mail tag:

- 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).


# 1.6 29-May-1999 aaron

repairs


# 1.5 28-May-1999 espie

proper const semantics for dirname & basename.

(this follows FreeBSD and Linux. Single Unix 2 is still illogical)


# 1.4 27-May-1999 aaron

more missing .El macros filled in


# 1.3 25-May-1999 aaron

punctuation


# 1.2 14-May-1999 alex

Removed duplicated references; millert


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.1 04-Jul-1998 deraadt

split dirname and basename man pages; add dirname