Subversion Repositories HelenOS-historic

Rev

Rev 1519 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1519 Rev 1528
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
-
 
29
#ifndef __libc_STREAM_H_
-
 
30
#define __libc_STREAM_H_
-
 
31
 
29
#include <libarch/types.h>
32
#include <libarch/types.h>
30
 
33
 
31
#define EMFILE -17
34
#define EMFILE -17
32
 
35
 
33
typedef int fd_t;
36
typedef int fd_t;
Line 36... Line 39...
36
typedef ssize_t (*pwritefn_t)(void *, const void *, size_t);
39
typedef ssize_t (*pwritefn_t)(void *, const void *, size_t);
37
typedef ssize_t (*preadfn_t)(void *, void *, size_t);
40
typedef ssize_t (*preadfn_t)(void *, void *, size_t);
38
 
41
 
39
fd_t open(const char *fname, int flags);
42
fd_t open(const char *fname, int flags);
40
int get_fd_phone(int fd);
43
int get_fd_phone(int fd);
-
 
44
 
-
 
45
#endif