Changeset d681c17 in mainline for uspace/libc/include
- Timestamp:
- 2006-09-05T14:52:11Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5035eeb7
- Parents:
- 2def788
- Location:
- uspace/libc/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/libc/include/as.h
r2def788 rd681c17 41 41 #include <kernel/mm/as.h> 42 42 43 #define USER_ADDRESS_SPACE_SIZE_ARCH (USER_ADDRESS_SPACE_END_ARCH-USER_ADDRESS_SPACE_START_ARCH+1)44 45 43 extern void *as_area_create(void *address, size_t size, int flags); 46 44 extern int as_area_resize(void *address, size_t size, int flags); -
uspace/libc/include/stdio.h
r2def788 rd681c17 41 41 #define EOF (-1) 42 42 43 #include <string.h> 43 44 #include <io/stream.h> 45 46 #define DEBUG(fmt, ...) \ 47 { \ 48 char buf[256]; \ 49 int n; \ 50 n = snprintf(buf, sizeof(buf), fmt, ##__VA_ARGS__); \ 51 if (n > 0) \ 52 (void) __SYSCALL3(SYS_IO, 1, (sysarg_t) buf, strlen(buf)); \ 53 } 44 54 45 55 extern int getchar(void);
Note:
See TracChangeset
for help on using the changeset viewer.
