Changeset 0ffbed9 in mainline for uspace/lib/posix/unistd.c
- Timestamp:
- 2011-06-19T17:49:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5974661
- Parents:
- f48b637 (diff), 32fb6944 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/unistd.c
rf48b637 r0ffbed9 1 1 /* 2 2 * Copyright (c) 2011 Jiri Zarevucky 3 * Copyright (c) 2011 Petr Koupy 3 4 * All rights reserved. 4 5 * … … 27 28 */ 28 29 30 /** @addtogroup libposix 31 * @{ 32 */ 33 /** @file 34 */ 35 36 #define LIBPOSIX_INTERNAL 37 38 #include "internal/common.h" 29 39 #include "unistd.h" 30 40 31 int isatty(int fd) { 32 // TODO 33 return 0; 41 /** 42 * Dummy function. Always returns false, because there is no easy way to find 43 * out under HelenOS. 44 * 45 * @param fd 46 * @return Always false. 47 */ 48 int posix_isatty(int fd) 49 { 50 return false; 34 51 } 35 52 53 /** 54 * 55 * @return 56 */ 57 posix_uid_t posix_getuid(void) 58 { 59 // TODO 60 not_implemented(); 61 } 62 63 /** 64 * 65 * @return 66 */ 67 posix_gid_t posix_getgid(void) 68 { 69 // TODO 70 not_implemented(); 71 } 72 73 /** 74 * 75 * @param path 76 * @param amode 77 * @return 78 */ 79 int posix_access(const char *path, int amode) 80 { 81 // TODO 82 not_implemented(); 83 } 84 85 /** 86 * 87 * @param name 88 * @return 89 */ 90 long posix_sysconf(int name) 91 { 92 // TODO 93 not_implemented(); 94 } 95 96 /** @} 97 */
Note:
See TracChangeset
for help on using the changeset viewer.