Without using "C standard library" I need to write some software software that is neither available nor available in the environment. I still need to read and write files and sockets, while not using the standard library, a portable (coded) C99 program string santo, not even unsuccessful.
To create any input / output, or possibly to create any side effects. And you will not be able to allocate any data in the pile (like malloc
). Soft-in is required by BTW, a CD-99 hosted implementation; You want a freestanding library for C (and it will be "implementation specific" according to the definition, in fact it can use OS specific services in a specific manner in implementation).
Old Linux (and IIRC, SVR4 such as SunOS 5), there were some libsys
used in the interface that was only in the interface. AFAIK, it has been disliked, and I can not find it.
Some of the libraries (such as GTK, ....) are giving the equivalent of most standard C library functions (but they are expecting some Liby, ie Hosted POSIX system).
Note that you can use that task and perhaps remove the tasks you do not want. You may also consider using some Libissy to provide a subset of the standard, e.g. . See also wikipage
BTW, you can have issues in coding in any user-ground Linux application which does not use libc (for example).
The strange thing is that I can not name a free software language even today, which is not using any kind of C. It is possible in principle (for example, Linux is compiled only to call Cisco), but I do not know anything like this
Note though (at least on Linux) if If you call a standard-linked binary code that does not call any standard C function, then binary will only be a small part of libc (which is accessible from CRT 0) .
Certain standard library features (such as or ...) - usually some compiler magic (even malloc
, printf
, FREE
do with recent). Some of the standard library functions are not applicable in portable C.
If using GCC
see --ffreestanding
option in gcc
in that case.
NB: You can consider two dialects of the CMT language: standard Liberty functions such as fprintf
, malloc
, etc. in host C ... and starts with main
... and freestanding c in which they are not included (but there are setjmp
etc ...) and no initial conferences .