Commit Graph

37 Commits

Author SHA1 Message Date
joerg 5bb1ddccc2 Use __dead 2011-08-29 14:51:17 +00:00
wiz 00d8bbccfa Improve wording.
From Snader_LB.
2011-08-15 14:45:36 +00:00
wiz 1318c0e8c4 Bump date for SIGINFO. 2010-10-09 07:40:58 +00:00
mrg 3b4fa1d52f add SIGINFO support; from freebsd:
when a SIGINFO is delivered, display the approximate remaining seconds.
2010-10-09 04:57:30 +00:00
lukem 2fe2731d3f Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-20 00:52:39 +00:00
hubertf 8e0c5879e7 - Cleanup for sleep.c:
+ mark two functions as static
  + remove case '?' in switch() before default
  + use return instead of exit() in main() function
  + use constants EXIT_SUCCESS/EXIT_FAILURE instead of 0/1

- In man sleep(1):
  + cleanup example

Patch submitted by Slava Semushin <php-coder@altlinux.ru> in private email.
2007-08-18 00:41:52 +00:00
elad c9981d258c PR/27140: "sleep time" doesn't error out.
Apply fix from Dheeraj Reddy.
2005-10-17 10:11:46 +00:00
agc b5b2954259 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
kim 1645c7e955 Use shell glob expansion in the csh example, instead of ls with glob.
Reported by Jerry Peek <jpeek@jpeek.com>.
2002-11-21 15:02:03 +00:00
wiz 14dfaa4b03 New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
ross dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
wiz bc5b87e7e0 Sort SEE ALSO. 2001-12-20 20:03:29 +00:00
christos 182abdd796 PR/14558: Tero Kivinen: Check the return value of nanosleep and don't fail
silently.
2001-11-12 14:55:53 +00:00
wiz 240b5f82de ANSIfy and KNF by Petri Koistinen. 2001-09-16 21:18:33 +00:00
kleink 2caf6aacdd For commands and utilities, use EXIT STATUS rather than RETURN VALUES as
appropriate (and documented in mdoc(7)).
2000-09-04 07:30:07 +00:00
hubertf 1cb54f68ac Add 'RETURN VALUE' section header. 2000-08-28 02:11:04 +00:00
christos 9908eacfd6 char -> unsigned char 1998-11-04 20:12:12 +00:00
mycroft ee9e50eacb Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
mycroft 9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
fair 927362e98c remove #include <sys/time.h> ; the include file bug noted in the comment above it has been fixed. 1998-04-09 07:03:29 +00:00
cgd bad15fd37f lint 1997-11-05 21:17:14 +00:00
lukem a9737b1039 - getopt returns -1 not EOF
- use .Nm appropriately
1997-09-14 07:31:56 +00:00
perry ba29cbc528 Make sleep handle non-integer values. Document the same, noting that
the extension is grotesquely non-portable.

As requested by Denny Gentry in pr-3914. He supplied some code, but I
used all my own code in the change, and wrote documentation for the
man page.

This is creeping featurism at its worst. I added it only because I
can't see a good reason for refusing. However, I'm disgusted with
myself for doing it anyway.
1997-08-04 01:13:07 +00:00
christos 23edbe3557 Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
christos e028842ec8 Fix compiler warnings.
Add WARNS=1
1997-07-20 21:28:26 +00:00
jtc 23e6aab105 Use "utility" instead of "command". Modern definitions of these terms
are distinct (See POSIX.2 glossary).

A utility is a executable, script or shell builtin; while a command
can be any of those things plus lists, pipelines, compound commands
(if, for, while) and shell function definitions.
1995-07-25 19:36:36 +00:00
cgd 49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
mycroft 667b5ea158 Merge 4.4-Lite version. 1994-09-22 09:24:46 +00:00
jtc e04c8e0705 Fix spelling errors. 1994-01-11 02:10:48 +00:00
jtc 88dd434d9f localization & manpage update. 1993-12-31 19:30:00 +00:00
jtc 85a78a6bf6 Quiet compiler warnings by explicitly declaring return value of main(). 1993-09-10 18:52:27 +00:00
mycroft 8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00