File: fdops.h

package info (click to toggle)
redhat-cluster 3.0.12-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,620 kB
  • ctags: 14,431
  • sloc: ansic: 150,556; sh: 10,974; perl: 4,383; python: 3,022; makefile: 2,253; xml: 61
file content (14 lines) | stat: -rw-r--r-- 396 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _FDOPS_H
#define _FDOPS_H
#include <unistd.h>
#include <sys/types.h>
#include <fcntl.h>
#include <errno.h>

int _select_retry(int fdmax, fd_set * rfds, fd_set * wfds, fd_set * xfds,
   		  struct timeval *timeout);
ssize_t _write_retry(int fd, void *buf, int count, struct timeval * timeout);
ssize_t _read_retry(int sockfd, void *buf, int count,
		    struct timeval * timeout);

#endif