aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* use pthread_sigmask, not sigprocmaskMattias Andrée2015-12-294-12/+12
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* more functions to add + implement readn, writen, preadn, and pwritenMattias Andrée2015-12-296-5/+404
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-291-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* typoMattias Andrée2015-12-292-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix dup_at_least_3: must duplicate at least onceMattias Andrée2015-12-281-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* daemonise: support keeping arbitrary fd:s openMattias Andrée2015-12-282-8/+118
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix errorsMattias Andrée2015-12-281-16/+19
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix errors and warningsMattias Andrée2015-12-276-33/+35
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix warningMattias Andrée2015-12-271-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* typoMattias Andrée2015-12-271-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* permission bitsMattias Andrée2015-12-271-1/+204
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* docMattias Andrée2015-12-271-0/+14
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix errorsMattias Andrée2015-12-272-8/+10
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* typoMattias Andrée2015-12-271-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix punctuationMattias Andrée2015-12-272-8/+8
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix errors and warningsMattias Andrée2015-12-2712-23/+25
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix errorsMattias Andrée2015-12-271-22/+27
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* suppress a bunch of warningsMattias Andrée2015-12-271-0/+79
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix a few errorsMattias Andrée2015-12-272-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix issue #9 on githubMattias Andrée2015-12-261-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add undaemoniseMattias Andrée2015-12-252-4/+68
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* typoMattias Andrée2015-12-231-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-231-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* daemonise: user-private daemonsMattias Andrée2015-12-232-3/+21
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* daemonise: may also be redistributed under the term of the expat licenseMattias Andrée2015-12-231-1/+3
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* daemonise: etymologyMattias Andrée2015-12-232-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* update todoMattias Andrée2015-12-221-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* doc F_OK, X_OK, W_OK, and R_OK, the placeholder values were the correct valuesMattias Andrée2015-12-211-1/+60
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* typo + redirected .h filesMattias Andrée2015-12-2111-6/+106
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add getenvMattias Andrée2015-12-212-0/+99
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add clearenvMattias Andrée2015-12-212-0/+101
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* in case environ is set to nullMattias Andrée2015-12-211-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add getpassMattias Andrée2015-12-212-0/+234
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* attributesMattias Andrée2015-12-212-4/+5
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* whoopsMattias Andrée2015-12-211-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add creatMattias Andrée2015-12-212-0/+100
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* daemoniseMattias Andrée2015-12-212-1/+407
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* etymology: daemonMattias Andrée2015-12-202-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add daemonMattias Andrée2015-12-202-0/+142
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* compile-time configurable default value for pathMattias Andrée2015-12-201-2/+11
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* future directionsMattias Andrée2015-12-201-0/+9
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-201-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-202-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* change semantics of searchpath2 and add searchpath3Mattias Andrée2015-12-206-122/+201
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add searchpath and searchpath2Mattias Andrée2015-12-204-47/+264
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add needstackMattias Andrée2015-12-203-1/+199
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-201-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* whitespaceMattias Andrée2015-12-201-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* It is of course possible that int is 16 bits, and long is required to get 32 bitsMattias Andrée2015-12-203-16/+33
| | | | | | (in this case, assuming 8-, 16-, and 32-bit integers exists) long must be 32 bits. Signed-off-by: Mattias Andrée <maandree@member.fsf.org>