Giter Club home page Giter Club logo

chadlibc's People

Contributors

d0p1s4m4 avatar rdmsr avatar wafelack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chadlibc's Issues

Test Suite

Add a test suite for chadlibc like libc-test

It's will help to prevent stupid errors

errno.h

Macro:

  • EDOM
  • ERANGE

variable:

  • errno

stddef.h

macro:

  • NULL
  • offsetof( type, member-designator)

type:

  • ptrdiff_t
  • size_t
  • wchar_t

stdarg.h

type:

  • v_list

macro

  • va_start
  • va_arg
  • va_end

assert.h

macro:

  • assert(expr)

if NDEBUG is defined the assert macro is defined simply as:

#define assert(ignore) ((void)0)

c89 draft

signal.h

types

  • sig_atomic_t

macros

  • SIG_DFL
  • SIG_ERR
  • SIG_IGN

function

  • signal
  • raise

string.h

Copying functions

  • memcpy
  • memmove
  • strcpy
  • strncpy

Concatenation functions

  • strcat
  • strncat
  • memcmp
  • strcmp
  • strcoll
  • strncmp
  • strxfrm

Search functions

  • memchr
  • strchr
  • strcspn
  • strpbrk
  • strrchr
  • strspn
  • strstr
  • strtok

Miscellaneous functions

  • memset
  • strerror
  • strlen

math.h

Trigonometric functions

  • acos
  • asin
  • atan
  • atan2
  • cos
  • sin
  • tan

Hyperbolic functions

  • cosh
  • sinh
  • tanh

Exponential and logarithmic functions

  • exp
  • frexp
  • ldexp
  • log
  • log10
  • modf

Power functions

  • pow
  • sqrt

Nearest integer, absolute value, and remainder functions

  • ceil
  • fabs
  • floor
  • fmod

stdio.h

types

  • FILE
  • fpos_t

Macro

  • _IOFBF
  • _IOLBF
  • _IONBF
  • BUFSIZ
  • EOF
  • FOPEN_MAX
  • FILENAME_MAX
  • L_tmpnam
  • SEEK_CUR
  • SEEK_END
  • SEEK_SET
  • TMP_MAX
  • stderr
  • stdin
  • stdout

Operations on files

  • remove
  • rename
  • tmpfile
  • tmpnam

File access functions

  • fclose
  • fflush
  • fopen
  • freopen
  • setbuf
  • setvbuf

Formatted intput/output functions

  • fprintf
  • fscanf
  • printf
  • scanf
  • sprintf
  • sscanf
  • vfprintf
  • vprintf
  • vsprintf
  • fgetc
  • fgets
  • fputc
  • fputs
  • getc
  • getchar
  • gets
  • putc
  • putchar
  • puts
  • ungetc

Direct input/output functions

  • fread
  • fwrite
  • fgetpos
  • fseek
  • fsetpos
  • ftell
  • rewind

Error-handling functions

  • clearerr
  • feof
  • ferror
  • perror

stdlib.h

types

  • div_t
  • ldiv_t

macros

  • EXIT_FAILURE
  • EXIT_SUCCESS
  • RAND_MAX
  • MB_CUR_MAX

String conversion functions

  • atof
  • atoi
  • atol
  • strtod
  • strtol
  • strtoul

Pseudo-random sequence generation functions

  • rand
  • srand

Memory management functions

  • calloc
  • free
  • malloc
  • realloc

Communication with the environment

  • abort
  • atexit
  • exit
  • getenv
  • system

Searching and sorting utilities

  • bsearch
  • qsort

Integer arithmetic functions

  • abs
  • div
  • labs
  • ldiv

Multibyte character functions

  • mblen
  • mbtowc
  • wctomb

Multibyte string functions

  • mbstowcs
  • wcstombs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.