source: mainline/libc/include/io/stream.h@ 80649a91

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 80649a91 was 04552a80, checked in by Martin Decky <martin@…>, 19 years ago

code cleanup (somebody should read the coding style guide)
remove DONT_OPEN_STDIO (this has to be done in a different way, ppc32 linker segfaults on initiating extern variable)
remove deprecated libipc stuff

  • Property mode set to 100644
File size: 227 bytes
Line 
1#include <libarch/types.h>
2#include <unistd.h>
3
4#define EMFILE -17
5
6typedef int fd_t;
7
8
9typedef ssize_t (*pwritefn_t)(void *, const void *, size_t);
10typedef ssize_t (*preadfn_t)(void);
11
12fd_t open(const char *fname, int flags);
Note: See TracBrowser for help on using the repository browser.