Changes in uspace/lib/posix/unistd.c [32fb6944:a16210b5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/unistd.c
r32fb6944 ra16210b5 1 1 /* 2 2 * Copyright (c) 2011 Jiri Zarevucky 3 * Copyright (c) 2011 Petr Koupy4 3 * All rights reserved. 5 4 * … … 28 27 */ 29 28 30 /** @addtogroup libposix31 * @{32 */33 /** @file34 */35 36 #define LIBPOSIX_INTERNAL37 38 #include "internal/common.h"39 29 #include "unistd.h" 40 30 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; 31 int isatty(int fd) { 32 // TODO 33 return 0; 51 34 } 52 35 53 /**54 *55 * @return56 */57 posix_uid_t posix_getuid(void)58 {59 // TODO60 not_implemented();61 }62 63 /**64 *65 * @return66 */67 posix_gid_t posix_getgid(void)68 {69 // TODO70 not_implemented();71 }72 73 /**74 *75 * @param path76 * @param amode77 * @return78 */79 int posix_access(const char *path, int amode)80 {81 // TODO82 not_implemented();83 }84 85 /**86 *87 * @param name88 * @return89 */90 long posix_sysconf(int name)91 {92 // TODO93 not_implemented();94 }95 96 /** @}97 */
Note:
See TracChangeset
for help on using the changeset viewer.