jehanne/sys/src/lib/thread
Giacomo Tesio e70feee4a3 libc: introduce "jehanne_" namespace
With this commit all functions declared in libc.h have been renamed
with the "jehanne_" prefix. This is done for several reason:

- it removes conflicts during symbol resolution when linking
  standard C libraries like newlib or musl
- it allows programs depending on a standard C library to directly
  link to a library depending on our non standard libc (eg libsec).

To ease transiction two files are provided:

- sys/include/lib9.h that can be included instead of <libc.h> to use
  the old names (via a simple set of macros)
- sys/src/lib/c/lib9.c that can be compiled with a program where the
  macro provided by lib9.h are too dumb (see for example rc or grep).

In the kernel port/lib.h has been modified accordingly and some of
the functions it directly provides has been renamed too (eg malloc
in qmalloc.c and print in devcons.c).
2017-04-19 23:48:21 +02:00
..
386.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
amd64.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
arm.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
build.json qa: build everything with -Werror 2017-01-12 00:38:56 +01:00
channel.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
chanprint.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
create.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
debug.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
dial.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
example.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
exec.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
exit.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
id.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
iocall.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
ioclose.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
iodial.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
ioopen.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
ioproc.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
ioread.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
ioreadn.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
iosleep.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
iowrite.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
kill.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
lib.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
main.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
mips.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
note.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
power.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
ref.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
rendez.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
sched.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
test.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
threadimpl.h first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
tprimes.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
xinc386.s first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
xincamd64.s first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
xincarm.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
xincmips.s first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
xincport.h first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
xincpower.s first usable version of kernel and commands 2016-11-26 03:49:29 +01:00