freebsd-dev/sbin/shutdown
Ed Schouten b3608ae18f Replace index() and rindex() calls with strchr() and strrchr().
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
2012-01-03 18:51:58 +00:00
..
Makefile
shutdown.8 Remove trailing whitespace in the shutdown(8) manual. 2011-07-14 03:08:10 +00:00
shutdown.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00