Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-12-30 | libthread: simplify | Russ Cox | 1 | -2/+0 | |
Now that everything uses pthreads and pthreadperthread, can delete various conditionals, all the custom context code, and so on. Also update documents. Fixes #355. | |||||
2020-05-18 | lib9: use __builtin_return_address on IBM XL/C | Ben Huntsman | 1 | -1/+1 | |
2020-05-17 | lib9: add close | Russ Cox | 1 | -1/+3 | |
More preparation for opendir. | |||||
2020-01-12 | lib9: make a p9frexp function wrapping system frexp | Russ Cox | 1 | -1/+3 | |
Under certain conditions it looks like frexp gets #defined to something else on macOS during system headers, which then breaks the declaration in libc.h. | |||||
2020-01-07 | lib9: remove getcallerpc implementations | Russ Cox | 1 | -11/+14 | |
These make no sense and are not really needed at all. Add a best-effort attempt to get at the gcc/clang macro in lib9.h, but if it fails, no big deal. Fixes #324. | |||||
2012-06-02 | lib9/dial: add support for IPv6 | David du Colombier | 1 | -1/+1 | |
The function p9dialparse() returns the host as a sockaddr_storage structure instead of a u32int, to be able to handle both IPv4 and IPv6 addresses. Because the sockaddr_storage structure also handle port numbers and Unix path names, there is no longer need to set them in the calling functions. However, these values are still returned for convenience. The sockaddr_in and sockaddr_un structures have been replaced by sockaddr_storage to handle Unix, IPv4 and IPv6 sockets. Names and addresses are resolved using either gethostbyname() or getaddrinfo() functions. The getaddrinfo() function is documented in RFC2553 and standardized since POSIX.1-2001. It supports both IPv4 and IPv6 addresses. The gethostbyname() function is deprecated since POSIX.1-2008. However, some libc implementations don't handle getaddrinfo() properly, thus we preferred to try gethostbyname() first. I've tried to preserve most of the old code logic to prevent from surprising or unwanted behavior. R=rsc http://codereview.appspot.com/6255068 | |||||
2009-09-13 | libc.h: update comment for 32-bit Rune | Russ Cox | 1 | -2/+3 | |
http://codereview.appspot.com/116097 | |||||
2009-08-14 | more licensing | Russ Cox | 1 | -0/+4 | |
2008-07-10 | lib9: add mode parameter to opentemp | Russ Cox | 1 | -1/+1 | |
2008-07-04 | lib9: add write function that withstands interrupts | Russ Cox | 1 | -0/+2 | |
2008-05-05 | post9pservice: accept mtpt (via fuse) | Russ Cox | 1 | -1/+2 | |
2006-06-26 | pin | rsc | 1 | -0/+3 | |
2006-06-26 | simpler USED | rsc | 1 | -1/+1 | |
2006-04-01 | Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. | rsc | 1 | -2/+2 | |
2006-02-12 | add exitcode | rsc | 1 | -0/+1 | |
2006-01-27 | bsd | rsc | 1 | -11/+0 | |
2006-01-27 | 9p2000.u | rsc | 1 | -0/+2 | |
2005-11-28 | add text version of install(1) | rsc | 1 | -1/+0 | |
2005-11-26 | move utf, fmt to libc | rsc | 1 | -0/+3 | |
2005-11-16 | sched_yield netbsd (anselm garbe) | rsc | 1 | -1/+2 | |
2005-11-07 | p9syslog for varargck | rsc | 1 | -1/+1 | |
2005-09-29 | Add print pragmas back, #ifdef'ed. | rsc | 1 | -0/+60 | |
2005-09-13 | Add 9P2000.u fields. | rsc | 1 | -7/+15 | |
2005-07-21 | openbsd | rsc | 1 | -1/+1 | |
2005-07-21 | OpenBSD, thanks to Tim Wiess | rsc | 1 | -0/+10 | |
2005-07-19 | maybe openbsd has schedyield now | rsc | 1 | -4/+0 | |
2005-05-01 | OpenBSD support. | rsc | 1 | -1/+5 | |
2005-03-15 | appease sun - nil is now just 0 instead of (void*)0 | rsc | 1 | -0/+2 | |
to fix function pointer problems. | |||||
2005-02-13 | add laddr, raddr to netconninfo | rsc | 1 | -0/+2 | |
2005-02-10 | new prototypes | rsc | 1 | -1/+10 | |
2005-02-08 | add crypt | rsc | 1 | -0/+2 | |
2005-01-23 | Add searchpath(). | rsc | 1 | -0/+1 | |
2005-01-16 | update return interface | rsc | 1 | -4/+4 | |
2005-01-13 | Many small edits. | rsc | 1 | -9/+5 | |
2005-01-07 | debugging for sam, and an old fix forgotten | rsc | 1 | -0/+1 | |
2005-01-04 | autolib, p9rand, p9execl | rsc | 1 | -14/+19 | |
2004-12-29 | Rename lrand to p9lrand, too. | wkj | 1 | -0/+1 | |
2004-12-29 | Use #define to move rand and srand to p9rand and p9srand. | wkj | 1 | -3/+7 | |
2004-12-27 | add awaitfor and waitfor | rsc | 1 | -0/+3 | |
2004-12-27 | various changes from plan 9 | rsc | 1 | -2/+2 | |
2004-12-25 | new thread library | rsc | 1 | -62/+64 | |
2004-09-23 | Add // to acid thread line so it is executable. | rsc | 1 | -4/+2 | |
Remove p9fork. | |||||
2004-09-21 | Continue the pthreads torture. | rsc | 1 | -0/+1 | |
2004-09-17 | Continue switching library over to pthreads when possible. | rsc | 1 | -0/+1 | |
Tprimes works on Linux 2.6. You can only have 128 procs though. | |||||
2004-09-17 | Rewrite to remove dependence on rendezvous and its bizarre | rsc | 1 | -8/+35 | |
data structures. Makes it easier to use pthreads too. Still need to add code for non-pthreads systems. Just a checkpoint to switch work to another machine. | |||||
2004-06-16 | various fixes | rsc | 1 | -0/+1 | |
2004-06-11 | add OLOCK | rsc | 1 | -0/+1 | |
2004-06-09 | catch strdup, malloc, and friends | rsc | 1 | -2/+4 | |
2004-05-23 | lock malloc ourselves | rsc | 1 | -6/+6 | |
2004-04-29 | add -W to specify window size. | rsc | 1 | -1/+3 | |
various other little fixes. |