Changeset 099c834 in mainline for uspace/lib/posix


Ignore:
Timestamp:
2018-06-18T13:56:02Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c440362
Parents:
379db9ef
git-author:
Jiri Svoboda <jiri@…> (2018-06-16 22:43:05)
git-committer:
Jiri Svoboda <jiri@…> (2018-06-18 13:56:02)
Message:

atexit, exit, _Exit, at_quick_exit, quick_exit, tests for strtol and friends.

Location:
uspace/lib/posix
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/include/posix/stdlib.h

    r379db9ef r099c834  
    4242#include <_bits/NULL.h>
    4343
    44 /* Process Termination */
    45 #define _Exit exit
    46 
    47 extern int atexit(void (*func)(void));
    48 
    4944/* Absolute Value */
    5045extern int abs(int i);
  • uspace/lib/posix/src/stdlib.c

    r379db9ef r099c834  
    4949#include "libc/vfs/vfs.h"
    5050#include "libc/stats.h"
    51 
    52 /**
    53  *
    54  * @param array
    55  * @param count
    56  * @param size
    57  * @param compare
    58  */
    59 int atexit(void (*func)(void))
    60 {
    61         // TODO: low priority, just a compile-time dependency of binutils
    62         not_implemented();
    63         return 0;
    64 }
    6551
    6652/**
Note: See TracChangeset for help on using the changeset viewer.