Changeset 8cd8bf6 in mainline for uspace/lib/posix/stdlib.c


Ignore:
Timestamp:
2011-07-08T17:25:53Z (14 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11809eab
Parents:
f5b2522 (diff), ddc63fd (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.
Message:

Merge libposix changes.

File:
1 edited

Legend:

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

    rf5b2522 r8cd8bf6  
    3636#define LIBPOSIX_INTERNAL
    3737
     38#include "internal/common.h"
    3839#include "stdlib.h"
     40
     41#include "errno.h"
     42
    3943#include "libc/sort.h"
    4044#include "libc/str.h"
    4145#include "libc/vfs/vfs.h"
    42 #include "internal/common.h"
    43 #include <errno.h>  // FIXME: use POSIX errno
    4446
    4547/**
     
    338340}
    339341
     342/**
     343 * Should read system load statistics. Not supported. Always returns -1.
     344 *
     345 * @param loadavg
     346 * @param nelem
     347 * @return
     348 */
     349int bsd_getloadavg(double loadavg[], int nelem)
     350{
     351        return -1;
     352}
     353
    340354/** @}
    341355 */
Note: See TracChangeset for help on using the changeset viewer.