search for: 4706f71

Displaying 2 results from an estimated 2 matches for "4706f71".

Did you mean: 370671
2011 Feb 27
4
[PATCH] Add minimal mkstemp(3) implementation.
...clude/stdlib.h | 2 + usr/klibc/Kbuild | 2 +- usr/klibc/mkstemp.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+), 1 deletions(-) create mode 100644 usr/klibc/mkstemp.c diff --git a/usr/include/stdlib.h b/usr/include/stdlib.h index 406f446..4706f71 100644 --- a/usr/include/stdlib.h +++ b/usr/include/stdlib.h @@ -79,6 +79,8 @@ static __inline__ void srandom(unsigned int __s) srand48(__s); } +__extern int mkstemp(char *); + /* Basic PTY functions. These only work if devpts is mounted! */ __extern int unlockpt(int); diff --git a/usr/kl...
2012 Jan 29
5
[PATCH 0/2 v3] mkstemp() and m68k support
Hi, after a year, I decided to hack on klibc again. I?ve reworked both the patch to add mkstemp(), discussing to use AT_RANDOM as cheap entropy source on IRC (if there will ever be another entropy consumer, I can quickly write a minimal arc4random() seeded from it, as it has only 16 octets), capable of making a working mksh (static and shared) on amd64/xen, and the m68k support code, leading to