diff options
author | Philippe Charnier <charnier@FreeBSD.org> | 1997-07-21 12:04:31 +0000 |
---|---|---|
committer | Philippe Charnier <charnier@FreeBSD.org> | 1997-07-21 12:04:31 +0000 |
commit | 492dbf7344031f6552a90eb77fb4a706a369074e (patch) | |
tree | 8c64bddcc2d31132531bb19153541e7a9e3a8b73 /usr.bin/leave/leave.1 | |
parent | 342548bf0f33450885347ea0197a64abba649c8d (diff) | |
download | src-492dbf7344031f6552a90eb77fb4a706a369074e.tar.gz src-492dbf7344031f6552a90eb77fb4a706a369074e.zip |
Check fgets' return value, silent -Wall.
Obtained from: OpenBSD
Notes
Notes:
svn path=/head/; revision=27572
Diffstat (limited to 'usr.bin/leave/leave.1')
-rw-r--r-- | usr.bin/leave/leave.1 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/leave/leave.1 b/usr.bin/leave/leave.1 index cca4e5b6b292..f7cbed851fb0 100644 --- a/usr.bin/leave/leave.1 +++ b/usr.bin/leave/leave.1 @@ -38,7 +38,7 @@ .Nm leave .Nd remind you when you have to leave .Sh SYNOPSIS -.Nm leave +.Nm .Sm off .Oo .Op Cm \&+ @@ -52,7 +52,7 @@ have to leave. You are reminded 5 minutes and 1 minute before the actual time, at the time, and every minute thereafter. When you log off, -.Nm leave +.Nm exits just before it would have printed the next message. .Pp @@ -78,16 +78,16 @@ from the current time. .El .Pp If no argument is given, -.Nm leave +.Nm prompts with "When do you have to leave?". A reply of newline causes -.Nm leave +.Nm to exit, otherwise the reply is assumed to be a time. This form is suitable for inclusion in a .Pa .login or -.Pa .profile. +.Pa .profile . .Pp Leave ignores interrupts, quits, and terminates. To get rid of it you should either log off or use @@ -97,6 +97,6 @@ giving its process id. .Xr calendar 1 .Sh HISTORY The -.Nm leave +.Nm command appeared in .Bx 3.0 . |