Wes Peters
b1e12513fa
Reviewed by: JKH
...
Submitted by: Wes Peters
Added strtok_r (reentrant) function and man page.
1998-12-14 05:11:26 +00:00
Robert Nordier
4a3bc52a9c
(Whoops: make it better instead of worse this time). Clarify
...
processing of the string argument by perror().
1998-10-29 22:08:59 +00:00
Robert Nordier
94cc971811
Clarify processing of the string argument by perror().
1998-10-29 21:59:38 +00:00
Andrey A. Chernov
0ea569ff6f
Fix handling more than 1 char with non-C locale
...
Misc. cleanup
PR: 6825
Submitted by: Sergey Gershtein <sg@mplik.ru>
1998-06-05 09:49:51 +00:00
John Birrell
adaa81ba92
Cast a pointer to a long, not an int before masking it.
1998-05-10 21:22:47 +00:00
James Raynard
66c15901aa
Pedantry (NULL -> NUL).
1998-05-03 22:42:45 +00:00
John Birrell
0107877e04
Change MACHINE references to MACHINE_ARCH.
1998-02-20 08:23:55 +00:00
Daniel O'Callaghan
38ce39bde5
PR: 5573
...
Submitted by: garbanzo@hooked.net
Add strncasecmp, strncmp to NAME field.
1998-01-27 07:01:09 +00:00
Wolfram Schneider
de635b0683
The terminating character in strings is NUL', not
NULL'.
1997-12-28 12:06:29 +00:00
Bruce Evans
b966cc2394
Sorted lists.
1997-10-21 08:41:15 +00:00
Bruce Evans
ae80efa54f
Handle machine-dependent (m-d) (string) sources more automatically.
...
The names of m-d variants are now added (manually) to MDSRCS instead
of to SRCS, and the names of all machine-independent (m-i) variants
that can reasonably be replaced by an m-d variant are now added
(manually) to MISRCS instead of to SRCS, so that a simple substitution
can be used to discard the unused m-i variants. MISRCS is potentially
all m-i sources, but the substitution is too simple to be fast, so
MISRCS should be kept reasonably small.
libc/Makefile.inc:
Do the substitution.
libc/i386/string/Makefile.inc:
Add to MDSRCS instead of to SRCS. Add the names of all sources in this
directory, but no others.
libc/string/Makefile.inc
Add to MISRCS instead of to SRCS. Add the names of all sources in this
directory. Don't use (broken) explicit rules for special cases.
1997-10-16 13:46:50 +00:00
Bruce Evans
2bc3b4d735
Removed the subdirectory paths from the definitions of MAN[1-9]. They
...
were a workaround for limitations in bsd.man.mk that were fixed about
2 years ago.
1997-10-15 16:16:41 +00:00
Bruce Evans
e94b7ef033
Added some 2-line source files to get a direct correspondence
...
between sources and objects. This will be used to avoid messy
special cases in Makefile.inc.
1997-10-15 15:27:19 +00:00
Peter da Silva
dc1f820ee5
Added bounds checking to the example after chasing down someone's
...
broken code where they'd copied the example basically verbatim and
blew an array. (engage brain before typing 'make')
1997-07-26 00:47:06 +00:00
Peter Wemm
65b3003d2d
kill the undead
1997-07-13 14:26:00 +00:00
Bruce Evans
362c392f0b
This commit was generated by cvs2svn to compensate for changes in r27180,
...
which included commits to RCS files with non-trunk default branches.
1997-07-03 03:28:27 +00:00
Bruce Evans
5500fdcd4f
Import Lite2's src/lib, except for non-i386 machine-dependent directories,
...
libc/db, libc/gen/crypt.* and libtelnet. All affected files except 3
unimportant ones have already left the vendor branch.
1997-07-03 03:28:27 +00:00
John Birrell
870039320f
Changed all paths to be relative to src/lib instead of src/lib/libc
...
so that all these makefiles can be used to build libc_r too.
Added .if ${LIB} == "c" tests to restrict man page builds to libc
to avoid needlessly building them with libc_r too.
Split libc Makefile into Makefile and Makefile.inc to allow the
libc_r Makefile to include Makefile.inc too.
1997-05-03 03:50:06 +00:00
Bruce Evans
a3315650db
Fixed #include and/or prototype bugs in synopsis.
1997-04-19 15:57:20 +00:00
Peter Wemm
4ace1b5205
Merge from Lite2 (whiteout/unionfs)
1997-03-11 11:41:46 +00:00
Peter Wemm
662909a780
Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branch
1997-03-11 11:29:42 +00:00
Peter Wemm
e5493ddb0f
This commit was generated by cvs2svn to compensate for changes in r23658,
...
which included commits to RCS files with non-trunk default branches.
1997-03-11 11:29:42 +00:00
Peter Wemm
7e546392b5
Revert $FreeBSD$ to $Id$
1997-02-22 15:12:41 +00:00
Wolfram Schneider
75141cc987
Sort cross references.
1997-01-20 23:23:22 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Wolfram Schneider
e83201b43a
delete doubled words, e.g.: "the the" -> "the"
1996-10-05 22:27:30 +00:00
Wolfram Schneider
e0e5145ce6
add missing comma(s) in .Xr macros
1996-09-23 22:24:39 +00:00
Bruce Evans
e0c95ed947
Fixed the easy cases of const poisoning in the kernel. Cosmetic.
1996-08-31 16:52:44 +00:00
Mike Pritchard
7bdf80e571
Correctly use .Fn instead of .Nm to reference function names
...
in a bunch of man pages.
Use the correct .Bx (BSD UNIX) or .At (AT&T UNIX) macros
instead of explicitly specifying the version in the text
in a bunch of man pages.
1996-08-22 23:31:07 +00:00
Andrey A. Chernov
c2bfae006a
Back out fallback approximation changes, they are not so right to live
1996-08-13 17:03:18 +00:00
Jordan K. Hubbard
51295a4d3e
General -Wall warning cleanup, part I.
...
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 18:57:58 +00:00
Andrey A. Chernov
45110ccfce
Use better approximation if collate info not available.
...
Fix bug: strxfrm+strcmp != strcoll, if collate info not available
1996-06-09 14:56:08 +00:00
Andrey A. Chernov
2127ab9a07
Localize it.
...
(it was NOT localized initially, it does some trick instead!)
1996-06-09 13:31:06 +00:00
Wolfram Schneider
9fb933075e
`mv'' ->
`mv -f''
...
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
Bruce Evans
6a59f3db1a
Added `const' to types of sys_errlist and sys_nerr.
...
Use .Va instead of .Fa to describe these variables.
Say a little about inconsistent declarations of sys_errlist in the BUGS
section.
1996-04-19 14:02:03 +00:00
Mike Pritchard
59f00bcdd9
Update the description of strncat to accurately describe how many
...
bytes are copied to the destination string. Closes PR#1000.
Submitted by: Dave Glowacki <dglo@ssec.wisc.edu>
1996-04-09 22:00:39 +00:00
Mike Pritchard
bcff8e2ae4
Another round of man page cleanups.
...
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
Mike Pritchard
a5ed710ccd
Fix even more spelling errors in some more man pages.
1996-01-30 16:34:52 +00:00
Mike Pritchard
b6607b59c8
Correct the strspn() man page so that it no longer references
...
itself as strcspn().
Obtained from: NetBSD-bugs mailing list (PR# 1905)
1996-01-10 11:06:25 +00:00
Peter Wemm
6065a0be11
This commit was generated by cvs2svn to compensate for changes in r13122,
...
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
Rodney W. Grimes
6c06b4e2aa
Remove trailing whitespace.
1995-05-30 05:51:47 +00:00
Andrey A. Chernov
db4dc2ff6e
If locale not available, fallback to strcasecmp, not to strcmp
1995-04-16 22:43:45 +00:00
Bruce Evans
553e72d902
Don't build swab.o here. It gets built in libc/i386/string. Previously
...
the copy built from here was overwritten by the other copy and the other
copy was put in library-building command lines twice. ld now objects to
duplicated modules.
1995-03-07 04:19:11 +00:00
Andrey A. Chernov
e96a21509f
Minor optimization.
1995-02-18 11:36:33 +00:00
Andrey A. Chernov
7b7aeeccde
Copyrights cleanup
1995-02-18 01:39:00 +00:00
Andrey A. Chernov
a4d5d0cbde
Add 8bit collate stuff
...
Submitted by: alex@elvisti.kiev.ua
1995-02-16 17:01:11 +00:00
Bruce Evans
a0d0470f49
Obtained from: 386BSD-0.1 patchkit; also fixed in 1.1.5
...
Compare unsigned chars.
Return the place after where the character was found and not the start
of the string.
1994-12-12 01:23:33 +00:00
Garrett Wollman
a040910f9b
Use latest Arthur Olson timezone code rather than that supplied with
...
4.4. The code is almost identical to the 4.4 versions, but this organization
should make it easier to merge new versions in the future.
1994-09-13 21:26:08 +00:00
Bruce Evans
aeeb6869a5
Don't include <sys/types.h> to get u_int or use u_int for a bogus cast.
...
Modernize bcopy -> memcpy.
1994-09-05 13:41:33 +00:00
Bruce Evans
5ec11cf0bb
Fix printing of weird errno's: negative values were printed as large
...
unsigned's; null termination was only guaranteed for the first call.
Fix lint: don't declare externs internally; they were both out of date.
1994-09-05 13:37:43 +00:00
Garrett Wollman
2ceb2ce9ee
First crack at making libc work with the new make macros. It compiles on
...
my machine, and a simple static (genassym) and shared (sysctl) executable
both work. Still to be done: RPCand YP merge.
1994-08-05 01:19:12 +00:00
Rodney W. Grimes
58f0484fa2
BSD 4.4 Lite Lib Sources
1994-05-27 05:00:24 +00:00