Ignore:
Timestamp:
2018-06-16T22:20:39Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
379db9ef
Parents:
55092672
Message:

div, ldiv, lldiv should go to libc's stdio.h Add MB_CUR_MAX. Adjust MB_LEN_MAX. Add tests.

File:
1 edited

Legend:

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

    r55092672 r8338a81  
    5252extern long long llabs(long long i);
    5353
    54 /* Integer Division */
    55 
    56 typedef struct {
    57         int quot, rem;
    58 } div_t;
    59 
    60 typedef struct {
    61         long quot, rem;
    62 } ldiv_t;
    63 
    64 typedef struct {
    65         long long quot, rem;
    66 } lldiv_t;
    67 
    68 extern div_t div(int numer, int denom);
    69 extern ldiv_t ldiv(long numer, long denom);
    70 extern lldiv_t lldiv(long long numer, long long denom);
    71 
    7254/* Array Functions */
    7355extern void *bsearch(const void *key, const void *base,
Note: See TracChangeset for help on using the changeset viewer.