Robert Drehmel
425289a9db
- Update the manual pages of index() and rindex() to show
...
<strings.h> as the associated header file.
The prototypes have been moved there from <string.h> because
POSIX.1-2001 said so.
- Conditionally include either <strings.h> or <string.h> based
on whether the [r]index() or str[r]chr() functions are
compiled, respectively.
- Style(9) tells us to
- put a space after the return keyword
- to check for a NUL character without using the ! operator.
- use NULL instead of (type *)NULL where the compiler knows
the type.
Apply these rules.
- Rather use ANSI-C function definitions than K&R ones.
- For index(3), correct second function argument's type; it was
declared to be a `const char' before and is now an `int'.
2002-08-30 19:42:07 +00:00
..
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2001-10-01 16:09:29 +00:00
2001-10-01 16:09:29 +00:00
2002-03-22 21:53:29 +00:00
2002-08-30 19:08:53 +00:00
2002-08-30 19:08:53 +00:00
2002-08-30 19:42:07 +00:00
2002-08-30 19:42:07 +00:00
2002-08-20 03:40:45 +00:00
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2002-01-07 06:03:37 +00:00
2002-03-22 21:53:29 +00:00
2001-10-01 16:09:29 +00:00
2002-03-22 21:53:29 +00:00
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2002-08-30 19:42:07 +00:00
2002-08-30 19:42:07 +00:00
2002-08-30 15:40:01 +00:00
2002-08-30 15:40:01 +00:00
2002-03-21 18:49:23 +00:00
2002-08-14 22:59:22 +00:00
2002-08-14 22:59:22 +00:00
2001-10-01 16:09:29 +00:00
2002-03-22 21:53:29 +00:00
2001-10-11 17:02:44 +00:00
2002-03-21 18:49:23 +00:00
2001-10-01 16:09:29 +00:00
2001-11-07 19:55:16 +00:00
2002-08-14 22:59:22 +00:00
2002-08-14 22:59:22 +00:00
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2001-10-01 16:09:29 +00:00
2001-11-07 19:55:16 +00:00
2002-01-31 13:32:14 +00:00
2002-07-03 06:28:04 +00:00
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2002-08-14 22:59:22 +00:00
2002-03-21 18:49:23 +00:00
2002-08-14 22:59:22 +00:00
2001-11-07 19:55:16 +00:00
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2001-10-01 16:09:29 +00:00
2002-03-22 21:53:29 +00:00
2002-08-07 20:08:50 +00:00
2002-03-21 18:49:23 +00:00
2002-03-21 18:49:23 +00:00
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2001-11-20 14:11:07 +00:00
2002-03-21 18:49:23 +00:00
2001-10-01 16:09:29 +00:00
2002-03-22 21:53:29 +00:00
2002-08-14 21:01:04 +00:00
2002-08-14 21:01:04 +00:00
2001-10-01 16:09:29 +00:00
2002-03-21 18:49:23 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-08-20 03:40:45 +00:00
2002-08-20 02:06:28 +00:00
2001-10-03 05:19:47 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00