Commit Graph

37 Commits

Author SHA1 Message Date
apb 7318d748c1 Mention the word "regexp" and the fact that this inteface is obsolete
in the NAME section.

Previously, "man -k regex" printed the following two lines
with no hint that you needed to do "man 3 regexp" to get to
the man page associated with the first of the two lines:

regcomp, regexec, regsub, regerror (3) - regular expression handlers
regex, regcomp, regexec, regerror, regfree (3) - regular-expression library
2008-09-08 22:14:11 +00:00
freza 592d6d615c Fix MKDEBUGLIB build. 2007-02-16 16:34:17 +00:00
christos f5804cdea3 make sure p is initialized. 2006-04-08 22:05:36 +00:00
christos d2bf424ee0 remove bogus declaration. 2006-04-08 21:33:09 +00:00
agc eb7c1594f1 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-08-07 16:42:00 +00:00
wiz 472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
thorpej 4ba7375da3 Fix signed/unsigned comparison warnings, and shadow warnings. 2002-11-11 23:43:03 +00:00
ross 9856438e91 generate & symbolically 2002-02-07 09:24:04 +00:00
ross 814f296b77 Generate <>& symbolically. 2002-02-07 07:00:09 +00:00
wiz 967a5d86a4 Sort SEE ALSO. 2002-01-15 02:39:29 +00:00
msaitoh a5e4741a2f check LIBC_SCCS 2000-09-14 01:24:31 +00:00
itohy f9863c47b3 Correct ctype(3) usage.
Passing "char" value is wrong.  Use "unsigned char" instead.
2000-07-11 06:07:25 +00:00
lukem d896261208 back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
1999-09-20 04:38:56 +00:00
lukem b48252f365 * use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
  and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

		_DIAGASSERT(path != NULL)
	#ifdef _DIAGNOSTIC
		if (path == NULL) {
			errno = EFAULT;
			return (-1);
		}
	#endif
1999-09-16 11:44:54 +00:00
lukem 2c6c9ee64c sort includes 1999-09-16 09:57:06 +00:00
kleink 5a0d65cb6b Add missing regerror() prototype. 1999-08-22 13:06:47 +00:00
simonb 1528b77539 More trailing white space. 1999-07-02 15:14:07 +00:00
christos 07b45180bb Forgot to commit this.
delint: const castaway and cast to size_t
1999-05-06 17:09:31 +00:00
christos d2c07ddc88 - widen prototypes
- fix portability with signed >>
- remove unreachable code
- add const castaways where appropriate
1999-05-04 17:15:51 +00:00
christos 1c494e5421 add /*ARGSUSED*/ 1999-05-04 17:14:54 +00:00
tv 5426fd2771 __RENAME() the libcompat regexp routines so they will not be used by
programs that want -lcompat but use POSIX regex.  Inspired by
<david@mono.org> in PR bin/1849.
1998-09-14 20:25:02 +00:00
fair 42aff08cb4 fix a bad .Xr 1998-04-29 19:25:25 +00:00
fair 6b57aa9fdc fix mdoc references 1998-04-28 23:03:56 +00:00
perry 312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
perry 741740203c remove obsolete register declarations 1998-02-03 18:49:08 +00:00
perry b51ed80fd5 RCS Id Police. 1998-01-09 04:11:49 +00:00
lukem e37aec676a rcsid facism, WARNSify 1997-10-09 10:20:07 +00:00
mikel 3f0dbdf761 xref exit(3) not exit(2) 1997-07-10 07:57:07 +00:00
mrg 9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +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
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
cgd dd267b8c9d patch up 1994-05-06 06:49:32 +00:00
jtc 9c20f740a3 Declare rcsid strings so they are stored in text segment. 1993-08-26 00:43:03 +00:00
mycroft aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft 55b7fa6d0b Add RCS identifiers. 1993-08-01 07:54:52 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00