diff options
author | tjr <tjr@FreeBSD.org> | 2002-04-18 03:33:51 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-04-18 03:33:51 +0000 |
commit | b7829d60fef4ef94c68a4c95c5e46126cf910197 (patch) | |
tree | 7f6edeec0b2cf0aa105b07956f4009fa50afeefd /lib/libc/stdio/tmpnam.c | |
parent | 50de41829507706df2569f9a0e93027eeae643ba (diff) | |
download | FreeBSD-src-b7829d60fef4ef94c68a4c95c5e46126cf910197.zip FreeBSD-src-b7829d60fef4ef94c68a4c95c5e46126cf910197.tar.gz |
Add the -b option (break at byte position, not column number) and the -s
option (try to break at word bounaries) for SUSv3 conformance.
Partially based on the NetBSD version, with the following changes:
- style(9)
- break on <blank>s, not spaces, per POSIX (and GNU)
- when looking for last space on line, search backwards instead of
forwards; less comparisons needed this way.
- use LINE_MAX macro instead of a magic number and a comment saying it is
LINE_MAX.
PR: 36245
Reviewed by: mike
Obtained from: NetBSD (partially)
Diffstat (limited to 'lib/libc/stdio/tmpnam.c')
0 files changed, 0 insertions, 0 deletions