Commit Graph

64 Commits

Author SHA1 Message Date
fvdl e03a6d4d3e Add new getdents() syscall, provide compat code for old getdirentries. 1997-10-10 02:15:44 +00:00
lukem e37aec676a rcsid facism, WARNSify 1997-10-09 10:20:07 +00:00
mycroft 7227af1293 Document that the time zone is obselete, add an xref to localtime(3), and
correct the HISTORY section.
1997-10-09 05:05:35 +00:00
jtc 43fa6fe319 If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.
1997-07-21 14:06:24 +00:00
christos 3ad08ca2f9 Fix RCSID's 1997-07-13 20:25:30 +00:00
christos 615413beb6 Include "extern.h" to get prototype for _tztab
Fix gcc warnings.
Fix RCSID's
1997-07-13 19:35:08 +00:00
mikel 3f0dbdf761 xref exit(3) not exit(2) 1997-07-10 07:57:07 +00:00
mikel 8b787e68dc include <stdlib.h> for free() prototype 1997-06-19 07:50:43 +00:00
mrg 7bc62c9a2d move swapon() stub here 1997-06-12 22:39:15 +00:00
mrg 552af779d2 bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:46:19 +00:00
cgd c917dfb5b2 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
	.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
	.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
mrg 9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +00:00
jtc fd08cf75d8 Handle null string in re_comp.
From Kazushi Jam Marukawa <kazusi-m@is.aist-nara.ac.jp> in PR 2196.
1996-03-21 03:11:13 +00:00
jtc b5d1933995 Manpage fixes from Jochen Pohl. Aligns the prototypes in the SYNOPSIS
section with the actual function declarations.  See PR #1589 for details.
1995-10-12 15:40:27 +00:00
jtc 2bb92dc67a Don't bother with a m68k assembly version of insque/remque. Gcc
generates the pretty much the same code (I believe it is exactly
the same except for stack frame setup) as the generic C version.
1995-09-07 07:17:53 +00:00
cgd 5fb36cfb02 cast assignments to quiet const warnings. Mark (at least some) uses of
const variables that result in their modification (!!) as XXX.
1995-06-07 03:55:49 +00:00
pk dde1c1a0be Prototypes (PR#1098). 1995-06-05 19:42:16 +00:00
mycroft 89ef25dac6 Fill in sin_len. 1995-06-03 22:03:51 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
cgd 4eab61bd40 merge with lite, keeping most local changes. clean up Ids 1995-02-27 12:31:34 +00:00
cgd 9060ff0dc7 merge with 4.4-Lite, keeping local changes. clean up Ids 1995-02-27 05:50:11 +00:00
jtc edcbc4e64c Changed formatting of manpage cross references to use .Xr macro.
Changed all libcompat manpages so that they clearly state that the
documented interface is availiable from libcompat.
(Fixes PR #703)
1995-01-13 01:15:53 +00:00
jtc 4b8de372d4 fix typo 1994-12-22 17:57:02 +00:00
cgd 3a370daf86 specify man pages the new way. 1994-12-22 09:44:45 +00:00
mycroft d8f841190c .s -> .S 1994-12-16 10:01:23 +00:00
cgd 73de321a73 needs string.h 1994-10-19 03:01:39 +00:00
mycroft a0c1518680 Do something more intelligent when compiling into ${DESTDIR}. Also fix bogus
definition of AINC.
1994-07-06 04:08:28 +00:00
cgd 395cddf518 make stty and gtty real function stubs (they're now gone from ioctl_compat.h). 1994-05-21 05:20:25 +00:00
jtc ac15753796 Remove links to regexp(3) manpage, as they overwrite the links with the
same name to the regex(3) manpage, which is the preferred regular expression
API.
1994-05-19 06:23:50 +00:00
jtc 66a7b96e20 Move our cuserid(3) manpage to libcompat, since the cuserid() function
now lives there.
1994-05-19 06:20:17 +00:00
cgd dd267b8c9d patch up 1994-05-06 06:49:32 +00:00
cgd a34c9134ca oops! 1994-05-06 06:42:21 +00:00
cgd 74c187c292 update 1994-05-06 06:25:33 +00:00
cgd e3a4ae7264 Initial revision 1994-05-06 06:25:32 +00:00
cgd 9f670da25f update 1994-05-06 06:25:29 +00:00
jtc 38065bce20 Remove description of EINVAL, "The pathname contains a character with the
high-order bit set", as this error is obsolete.

Eventually we may want to add code to some of the "optional" filesystems
(msdosfs, etc.) that checks for illegal characters.  At that time it would
be appropriate to reintroduce this error with appropriate text.  Perhaps
"The pathname contains a character that is not valid for filesystem type".
1994-04-22 00:13:22 +00:00
jtc a3376999f0 Use symbolic names {NAME_MAX} & {PATH_MAX} instead of 255 and 1023 in
description of ENAMETOOLONG error.
1994-04-19 00:10:45 +00:00
jtc 520c05b536 Instruct user to #include <search.h>.
Remque() has returned void for some time now.
1994-03-12 01:28:56 +00:00
jtc bbcdac1400 Don't install manpage links to regexp(3), they overwrite the links
to regex(3).
1994-02-07 18:29:53 +00:00
jtc ec22bca1e7 Since V8 regex routines have been moved to libcompat(), the BSD regex
routines must again be defined as wrappers around them.
1994-02-01 17:45:53 +00:00
mycroft a4d10d0ab2 Clean up deleted files. 1994-01-15 19:31:44 +00:00
cgd 73da6e26ee actually commit the changes i made the other day to the Makefile 1994-01-15 19:31:32 +00:00
jtc 584ac8448e Fix spelling errors. 1994-01-10 23:32:20 +00:00
jtc 250b6aa06e Use "Er" for argument to -width in the lists in the ERROR sections --- so
the formatting is consistant.
1993-11-29 21:24:57 +00:00
jtc f947c6c25d Format ERROR values like all the other manual pages. 1993-11-29 19:45:00 +00:00
jtc 6e9ac1805f Clean up manpages:
Use .Fn rather than .Nm macro in HISTORY and STANDARDS sections.
  Use .At and .St macros instead of spelling out "Version 6 UNIX",
	"IEEE 1003.1-1988 (POSIX)", etc.
1993-11-25 00:38:17 +00:00
jtc 9bd83209f0 Change C library functions to use strchr() and strrchr() instead of index()
and rindex().  This will allow (strict {ANSI, POSIX, XOPEN}) applications
to redefine index() and rindex() without effecting the library internals.
1993-11-24 19:43:49 +00:00
jtc c52b10cc29 Layer re_comp() and re_exec() on top of the POSIX regular expression
routines, as the V8 regexp routines have been removed.
1993-11-11 01:24:50 +00:00
jtc 57c5f16709 #include <search.h> to ensure that the public function declarations match
the implementation.
Use old-style function definitions so functions can be compiled with non-ansi
compilers.
Functions are specified to take void * arguments, so they must be cast to
a struct qelem * before they are used.
1993-10-21 21:08:55 +00:00
pk a3d6ce6845 PIC: don't bother. 1993-10-05 21:55:45 +00:00