libjh.git
10 years agoio: retry read/write on EINTR
Jann Horn [Mon, 19 Aug 2013 21:15:29 +0000 (23:15 +0200)]
io: retry read/write on EINTR

10 years agostring: add TPRINTF macro for constructing temporary small strings
Jann Horn [Mon, 19 Aug 2013 20:51:50 +0000 (22:51 +0200)]
string: add TPRINTF macro for constructing temporary small strings

10 years agoio: allow slurping files with a given size
Jann Horn [Mon, 19 Aug 2013 20:51:24 +0000 (22:51 +0200)]
io: allow slurping files with a given size

10 years agofix file IO: void* instead of char*
Jann Horn [Sat, 27 Jul 2013 10:21:37 +0000 (12:21 +0200)]
fix file IO: void* instead of char*

10 years agofix base64: add terminating nullbyte
Jann Horn [Sat, 27 Jul 2013 10:21:23 +0000 (12:21 +0200)]
fix base64: add terminating nullbyte

10 years agoadd some untested base64
Jann Horn [Fri, 26 Jul 2013 23:04:44 +0000 (01:04 +0200)]
add some untested base64

10 years agoadd buf_to_linearray
Jann Horn [Sat, 22 Jun 2013 20:59:02 +0000 (22:59 +0200)]
add buf_to_linearray

10 years agofix for write_file: always add O_WRONLY
Jann Horn [Sat, 22 Jun 2013 12:46:52 +0000 (14:46 +0200)]
fix for write_file: always add O_WRONLY

10 years agoslurp_fd: add flag for creating 8-nullbytes-padded buffers
Jann Horn [Fri, 21 Jun 2013 12:17:28 +0000 (14:17 +0200)]
slurp_fd: add flag for creating 8-nullbytes-padded buffers

10 years agoadd sse2 stuff for doing stuff with certain chars in strings
Jann Horn [Tue, 18 Jun 2013 17:41:28 +0000 (19:41 +0200)]
add sse2 stuff for doing stuff with certain chars in strings

10 years agoadd mmap_file
Jann Horn [Tue, 18 Jun 2013 17:40:48 +0000 (19:40 +0200)]
add mmap_file

10 years agofix: use O_CLOEXEC to prevent fds from leaking through other threads
Jann Horn [Tue, 18 Jun 2013 17:40:36 +0000 (19:40 +0200)]
fix: use O_CLOEXEC to prevent fds from leaking through other threads

10 years agooptimize code with -O3
Jann Horn [Tue, 18 Jun 2013 17:39:51 +0000 (19:39 +0200)]
optimize code with -O3

10 years agoactually, lets just take the MIT license
Jann Horn [Sun, 16 Jun 2013 21:51:57 +0000 (23:51 +0200)]
actually, lets just take the MIT license

10 years agojh.h, not libjh.h
Jann Horn [Sun, 16 Jun 2013 20:43:13 +0000 (22:43 +0200)]
jh.h, not libjh.h

10 years agoadd license and copyright stuff
Jann Horn [Sun, 16 Jun 2013 19:47:09 +0000 (21:47 +0200)]
add license and copyright stuff

10 years agoinitial commit
Jann Horn [Sun, 16 Jun 2013 19:40:27 +0000 (21:40 +0200)]
initial commit