Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/unistd.c

    r823a929 r72ec8cc  
    3838#include "internal/common.h"
    3939#include "unistd.h"
    40 #include <task.h>
    4140
    4241/* Array of environment variable strings (NAME=VALUE). */
     
    4443
    4544/**
    46  * Dummy function. Always returns false, because there is no easy way to find
    47  * out under HelenOS.
    48  *
     45 *
    4946 * @param fd
    50  * @return Always false.
     47 * @return
    5148 */
    5249int posix_isatty(int fd)
    5350{
    54         return false;
     51        // TODO
     52        not_implemented();
    5553}
    5654
     
    6260{
    6361        return getpagesize();
    64 }
    65 
    66 /**
    67  *
    68  * @return
    69  */
    70 posix_pid_t posix_getpid(void)
    71 {
    72         return task_get_id();
    7362}
    7463
     
    116105}
    117106
    118 /**
    119  *
    120  * @param path
    121  * @param name
    122  * @return
    123  */
    124 long posix_pathconf(const char *path, int name)
    125 {
    126         // TODO: low priority, just a compile-time dependency of binutils
    127         not_implemented();
    128 }
    129 
    130 /**
    131  *
    132  * @return
    133  */
    134 posix_pid_t posix_fork(void)
    135 {
    136         // TODO: low priority, just a compile-time dependency of binutils
    137         not_implemented();
    138 }
    139 
    140 /**
    141  *
    142  * @param path
    143  * @param argv
    144  * @return
    145  */
    146 int posix_execv(const char *path, char *const argv[])
    147 {
    148         // TODO: low priority, just a compile-time dependency of binutils
    149         not_implemented();
    150 }
    151 
    152 /**
    153  *
    154  * @param file
    155  * @param argv
    156  * @return
    157  */
    158 int posix_execvp(const char *file, char *const argv[])
    159 {
    160         // TODO: low priority, just a compile-time dependency of binutils
    161         not_implemented();
    162 }
    163 
    164 /**
    165  *
    166  * @param fildes
    167  * @return
    168  */
    169 int posix_pipe(int fildes[2])
    170 {
    171         // TODO: low priority, just a compile-time dependency of binutils
    172         not_implemented();
    173 }
    174 
    175107/** @}
    176108 */
Note: See TracChangeset for help on using the changeset viewer.