atatat
31144d9976
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
...
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
lukem
adc783d537
add RCSIDs
2001-11-12 15:25:01 +00:00
enami
2ceebb6c0e
Remove unnecessary test of tp->t_linesw against NULL; they are results
...
of confusion while correcting compilation error after t_line is
replaced with t_linesw.
2001-03-31 00:35:21 +00:00
jdolecek
34c8ae80da
constify
2001-01-18 20:28:15 +00:00
enami
08810e4e74
Make this file compile again.
2000-11-02 06:57:01 +00:00
eeh
d85adca51f
Make line disciplines modular so they can be added or removed dynamically.
2000-11-01 23:51:38 +00:00
augustss
264f1d27c6
Get rid of register declarations.
2000-03-30 09:27:11 +00:00
perry
275d1554aa
Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one.
...
bcopy(x, y, z) -> memcpy(y, x, z)
ovbcopy(x, y, z) -> memmove(y, x, z)
bcmp(x, y, z) -> memcmp(x, y, z)
bzero(x, y) -> memset(x, 0, y)
1998-08-04 04:03:10 +00:00
perry
730baa7431
fix sizeofs so they comply with the KNF style guide. yes, it is pedantic.
1998-07-31 22:50:48 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
christos
8a5b1b92e2
First pass at prototyping
1996-02-04 02:15:01 +00:00
christos
fb371ccef0
tty_tb.c: need to include ioctl_compat.h in order to compile.
...
sysv_shm.c: make shm_find_segment_by_shmid global so it can be used by
COMPAT_HPUX. There should be a better way...
rest: Add #ifdef COMPAT_HPUX where needed
1995-05-10 16:52:53 +00:00
mycroft
51d415bcfe
Fix compiler warnings/bugs.
1994-12-13 20:03:13 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
cgd
577c5b3d55
fixes from Christos Zoulas and myself, to get it to work again
1994-05-18 00:10:10 +00:00
cgd
d86bd85808
minor changes to match 4.4-Lite
1994-05-12 03:25:27 +00:00
mycroft
75029eb7b4
#include proc.h.
1994-02-17 14:50:38 +00:00
cgd
a0bdba3231
always good to think about patches before they're included:
...
NEVER pass a "NULL" proc to an ioctl; you never know when a 'real'
proc will be needed. pass curproc, if you don't have one.
1994-02-13 00:10:47 +00:00
glass
2afef02671
undefined variable fix from Mark_Weaver@brown.edu
1994-02-12 15:52:49 +00:00
mycroft
bbb3e7618c
All ioctl routines take a struct proc * now.
1994-02-09 21:06:46 +00:00
mycroft
7f50bd1829
Canonicalize all #includes.
1993-12-18 04:21:37 +00:00
glass
af72539915
T_LINEP member of struct tty becomes t_sc. This replaces the
...
#define t_sc T_LINEP
that appear in tty_tb.c, if_sl.c, and if_ppp.h
1993-11-09 06:22:08 +00:00
glass
3e21ea2e33
tablet line discipline compiles and probably works now.
1993-11-02 06:19:24 +00:00
glass
bee2279a89
removed unnecessary #ifdef. config does the right thing.
1993-10-31 19:36:33 +00:00
cgd
230dcf0d05
add $Id$ strings, and clean up file headers where necessary
1993-05-20 02:54:09 +00:00
glass
034707f9e5
fixed to be compliant, subservient, and to take advantage of the newly
...
hacked config(8)
1993-04-10 12:04:35 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00