diff options
author | Miles Bader <miles@gnu.org> | 1995-08-31 22:30:36 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-08-31 22:30:36 +0000 |
commit | 8d233c0a5465d93993ae91b0ee1753cdb787ab3a (patch) | |
tree | 77a950dc951dc74cc2e8e7980fb5cc2547757616 | |
parent | 8a16b47f5d41b6d75b359827e94337337b190244 (diff) |
`pipe_pair_select_read_write' --> `pipe_pair_select'.
`pipe_select_read' --> `pipe_select_readable'.
`pipe_select_write' --> `pipe_select_writable'.
-rw-r--r-- | libpipe/pipe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpipe/pipe.c b/libpipe/pipe.c index 358a27ee..33a6751d 100644 --- a/libpipe/pipe.c +++ b/libpipe/pipe.c @@ -145,8 +145,8 @@ void _pipe_no_writers (struct pipe *pipe) waited for on RPIPE. Neither RPIPE or WPIPE should be locked when calling this function (unlike most pipe functions). */ error_t -pipe_pair_select_read_write (struct pipe *rpipe, struct pipe *wpipe, - int *select_type, int data_only) +pipe_pair_select (struct pipe *rpipe, struct pipe *wpipe, + int *select_type, int data_only) { error_t err = 0; @@ -155,13 +155,13 @@ pipe_pair_select_read_write (struct pipe *rpipe, struct pipe *wpipe, if (*select_type == SELECT_READ) { mutex_lock (&rpipe->lock); - err = pipe_select_read (rpipe, data_only); + err = pipe_select_readable (rpipe, data_only); mutex_unlock (&rpipe->lock); } else if (*select_type == SELECT_WRITE) { mutex_lock (&wpipe->lock); - err = pipe_select_write (wpipe); + err = pipe_select_writable (wpipe); mutex_unlock (&wpipe->lock); } else |