2 * Copyright (C) 2006-2007 Andre Noll <maan@systemlinux.org>
4 * Licensed under the GPL v2. For licencing details see COPYING.
7 /** \file fd.h exported symbols from fd.c */
9 int file_exists(const char *);
10 int para_select(int n
, fd_set
*readfds
, fd_set
*writefds
,
11 struct timeval
*timeout_tv
);
12 int mark_fd_nonblock(int fd
);
13 void para_fd_set(int fd
, fd_set
*fds
, int *max_fileno
);
14 __must_check
int para_fgets(char *line
, int size
, FILE *f
);
15 void *para_mmap(size_t length
, int prot
, int flags
, int fd
, off_t offset
);