Ignore:
File:
1 edited

Legend:

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

    r09b0b1fb r4d10fc8  
    11/*
    22 * Copyright (c) 2011 Petr Koupy
    3  * Copyright (c) 2011 Jiri Zarevucky
    43 * All rights reserved.
    54 *
     
    3736
    3837#include "stdlib.h"
    39 #include "common.h"
    4038
    4139/**
     
    4947{
    5048        // TODO
    51         not_implemented();
    5249}
    5350
     
    6057{
    6158        // TODO
    62         not_implemented();
     59        return 0;
    6360}
    6461
     
    7269{
    7370        // TODO
    74         not_implemented();
    75 }
    76 
    77 /**
    78  *
    79  * @param nptr
    80  * @param endptr
    81  * @return
    82  */
    83 float posix_strtof(const char *restrict nptr, char **restrict endptr)
    84 {
    85         // TODO
    86         not_implemented();
    87 }
    88 
    89 /**
    90  *
    91  * @param nptr
    92  * @param endptr
    93  * @return
    94  */
    95 double posix_strtod(const char *restrict nptr, char **restrict endptr)
    96 {
    97         // TODO
    98         not_implemented();
    99 }
    100 
    101 /**
    102  *
    103  * @param nptr
    104  * @param endptr
    105  * @return
    106  */
    107 long double posix_strtold(const char *restrict nptr, char **restrict endptr)
    108 {
    109         // TODO
    110         not_implemented();
    111 }
    112 
    113 /**
    114  *
    115  * @param str
    116  * @return
    117  */
    118 int posix_atoi(const char *str)
    119 {
    120         // TODO
    121         not_implemented();
     71        return 0;
    12272}
    12373
Note: See TracChangeset for help on using the changeset viewer.