summaryrefslogtreecommitdiffstats
path: root/usr.bin/from/from.c
Commit message (Collapse)AuthorAgeFilesLines
* ANSIify function definitions.dwmalone2002-09-041-4/+6
| | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5
* Minor cleanup: ANSI C function declarations, use argc after getopt(3) to checkjmallett2002-06-301-11/+12
| | | | | | | for remaining arguments, rather than checking for *argv being a boolean truth. Instead of using an empty case to check for -f- to mean "read stdin", and have stdin reopned otherwise, use a FILE* for the mbox, and assign it to stdin when we mean to use stdin, otherwise fopen(3). Kill `register' qualifier.
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* remove __Pimp2002-03-221-2/+2
|
* Replaced unsafe use of sprintf() with snprintf().ru2000-10-031-2/+2
|
* optarg and optind are declared in unistd.h.imp2000-09-041-2/+0
| | | | h_error is declared in netdb.h
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* This covers the previous version, since a null commit message was accidentallygreen1999-07-271-1/+1
| | | | | | | | | | used: Add a -c flag to print a count of messages and exit. PR: 10921 Submitted by: James Howard <howardjp@byzantine.student.umd.edu> Requested by: DES
* *** empty log message ***green1999-07-261-7/+18
|
* Add usage(), use err(3).charnier1997-07-081-13/+25
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Honor the MAIL environment variable, if set.jkh1996-10-061-7/+15
| | | | Submitted-by: Dan Cross <cross@math.psu.edu>
* Read from standard input if file name "-" is given.wosch1996-01-281-2/+7
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+136
OpenPOWER on IntegriCloud