diff options
author | Gary Houston <ghouston@arglist.com> | 1997-05-15 08:46:37 +0000 |
---|---|---|
committer | Gary Houston <ghouston@arglist.com> | 1997-05-15 08:46:37 +0000 |
commit | a48a89bc1705db11abd626edf41363c03de46f35 (patch) | |
tree | c2804635d09c45816c0f3736d927607f4d26994a /libguile/posix.c | |
parent | 223be5f0438eec153b2aacc8dd3820dab9cf38e0 (diff) | |
download | guile-a48a89bc1705db11abd626edf41363c03de46f35.tar.gz |
* posix.c: don't include <sys/select.h> or define macros for
select, since they were not used in this file.
* * filesys.c (scm_select): make the fifth parameter microseconds,
not milliseconds. let the fourth parameter be either a real value
or an integer or #f. The first, second and third arguments can
now be vectors: the type of the corresponding return set will be
the same.
(set_element, get_element): new static procedures.
Diffstat (limited to 'libguile/posix.c')
-rw-r--r-- | libguile/posix.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libguile/posix.c b/libguile/posix.c index f0edefa6a..9a45ed91d 100644 --- a/libguile/posix.c +++ b/libguile/posix.c @@ -75,10 +75,6 @@ extern char *ttyname(); #include <libc.h> #endif -#ifdef HAVE_SYS_SELECT_H -#include <sys/select.h> -#endif - #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> @@ -97,23 +93,6 @@ extern char *ttyname(); #include <signal.h> -#ifdef FD_SET - -#define SELECT_TYPE fd_set -#define SELECT_SET_SIZE FD_SETSIZE - -#else /* no FD_SET */ - -/* Define the macros to access a single-int bitmap of descriptors. */ -#define SELECT_SET_SIZE 32 -#define SELECT_TYPE int -#define FD_SET(n, p) (*(p) |= (1 << (n))) -#define FD_CLR(n, p) (*(p) &= ~(1 << (n))) -#define FD_ISSET(n, p) (*(p) & (1 << (n))) -#define FD_ZERO(p) (*(p) = 0) - -#endif /* no FD_SET */ - extern FILE *popen (); extern char ** environ; |