Mercurial > hg > xemacs-beta
comparison src/sysdep.c @ 347:7c94d56991e1 r21-1-3
Import from CVS: tag r21-1-3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:53:48 +0200 |
parents | c9fe270a4101 |
children | 4711e16a8e49 |
comparison
equal
deleted
inserted
replaced
346:dd0986ffd2cf | 347:7c94d56991e1 |
---|---|
1015 static void | 1015 static void |
1016 request_sigio_on_device (struct device *d) | 1016 request_sigio_on_device (struct device *d) |
1017 { | 1017 { |
1018 int filedesc = DEVICE_INFD (d); | 1018 int filedesc = DEVICE_INFD (d); |
1019 | 1019 |
1020 #if defined (I_SETSIG) && !defined(HPUX10) | 1020 #if defined (I_SETSIG) && !defined(HPUX10) && !defined(LINUX) |
1021 { | 1021 { |
1022 int events=0; | 1022 int events=0; |
1023 ioctl (filedesc, I_GETSIG, &events); | 1023 ioctl (filedesc, I_GETSIG, &events); |
1024 ioctl (filedesc, I_SETSIG, events | S_INPUT); | 1024 ioctl (filedesc, I_SETSIG, events | S_INPUT); |
1025 } | 1025 } |
1060 static void | 1060 static void |
1061 unrequest_sigio_on_device (struct device *d) | 1061 unrequest_sigio_on_device (struct device *d) |
1062 { | 1062 { |
1063 int filedesc = DEVICE_INFD (d); | 1063 int filedesc = DEVICE_INFD (d); |
1064 | 1064 |
1065 #if defined (I_SETSIG) && !defined(HPUX10) | 1065 #if defined (I_SETSIG) && !defined(HPUX10) && !defined(LINUX) |
1066 { | 1066 { |
1067 int events=0; | 1067 int events=0; |
1068 ioctl (filedesc, I_GETSIG, &events); | 1068 ioctl (filedesc, I_GETSIG, &events); |
1069 ioctl (filedesc, I_SETSIG, events & ~S_INPUT); | 1069 ioctl (filedesc, I_SETSIG, events & ~S_INPUT); |
1070 } | 1070 } |