Changeset 5cfb8b1


Ignore:
Timestamp:
Sep 9, 2023, 1:54:55 PM (15 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
ba068c0, c58ead7
Parents:
553f032f
Message:

add getenv, strlen, strcmp, strncmp to extras

Location:
libcfa/prelude
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/prelude/extras.c

    r553f032f r5cfb8b1  
    33#include <uchar.h>                                      // char16_t, char32_t
    44#include <wchar.h>                                      // wchar_t
    5 #include <stdlib.h>                                     // malloc, free, exit, atexit, abort
     5#include <stdlib.h>                                     // malloc, free, getenv, exit, atexit, abort, printf
    66#include <stdio.h>                                      // printf
     7#include <string.h>                                     // strlen, strcmp, strncmp
  • libcfa/prelude/extras.regx2

    r553f032f r5cfb8b1  
    11extern void \*malloc[^;]*;
    22extern void free[^;]*;
     3extern char \*getenv[^;]*;
    34extern void exit[^;]*;
    45extern int atexit[^;]*;
    56extern void abort[^;]*;
    67extern int printf[^;]*;
     8int strcmp[^;]*;
     9int strncmp[^;]*;
     10size_t strlen[^;]*;
Note: See TracChangeset for help on using the changeset viewer.