Commit Graph

10 Commits

Author SHA1 Message Date
lukem
166448c2dc WARNSify 1997-10-17 13:02:01 +00:00
mrg
3bbeacd12c merge lite-2 1997-10-17 08:05:18 +00:00
mikel
58aea378cf use strtoq() instead of atoi() to generate offset argument for lseek()
(Todd Miller)
include <fcntl.h>, <stdlib.h>, and <unistd.h> for prototypes
include <sys/ioctl.h> instead of <sys/sgtty.h>
add explicit return types and prototypes for internal functions
use STD{IN,OUT}_FILENO instead of manifest constants
fix off-by-one buffer overflow error in getstring()
KNFify and RCSid police
1997-07-01 07:42:28 +00:00
mycroft
e6ae4619a7 Add missing #include. 1995-04-13 02:07:23 +00:00
mycroft
d092e7eb1e Give open() reasonable permissions for creating a file (though this doesn't
matter for the normal case of opening a device).  Suggested by Joerg Wunsch.
1995-04-09 19:02:54 +00:00
cgd
7a6e889600 kill bad casts 1994-03-30 02:28:43 +00:00
cgd
20137a28c8 kill extern'd lseek() 1994-03-28 07:08:56 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mrg
c78c6a22ab 4.4BSD-Lite2 1993-06-06 20:58:02 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00