aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* strfry: non-uniform random number generationMattias Andrée2016-02-291-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* fix terrible mistake in bsearchMattias Andrée2016-02-241-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* add bsearchMattias Andrée2016-02-201-0/+70
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix issue #10 on githubMattias Andrée2016-02-141-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* improve machinemodeMattias Andrée2016-02-091-14/+73
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* misread specificationMattias Andrée2016-01-141-10/+0
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* partially split malloc.cMattias Andrée2016-01-017-156/+281
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* docMattias Andrée2016-01-011-0/+24
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* extension: free will perserve errnoMattias Andrée2016-01-012-0/+12
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2016-01-013-8/+25
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* portabilityMattias Andrée2016-01-011-3/+9
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* bump yearMattias Andrée2016-01-01214-214/+214
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* m bug fix: reopen: closed wrong fdMattias Andrée2015-12-311-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix DAEMONISE_KEEP_FDSMattias Andrée2015-12-311-3/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-311-5/+7
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* daemonise: add option to override pid fileMattias Andrée2015-12-311-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* m bug fixMattias Andrée2015-12-311-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* m bug fixMattias Andrée2015-12-301-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* SIGKILL and SIGSTOP cannot be cought, for you get an exception even if SIG_DFL is usedMattias Andrée2015-12-301-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* typo + other ways to catch fireMattias Andrée2015-12-301-1/+54
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* needstack: We cannot protect ourself from death by SIGSEGV, the CPU would halt and catch fire.Mattias Andrée2015-12-301-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* needstack: forgot to set the maskMattias Andrée2015-12-301-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* needstack: use pthread_sigmask rather than sigprocmaskMattias Andrée2015-12-301-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add reopenMattias Andrée2015-12-301-0/+79
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* halt + hcfMattias Andrée2015-12-292-0/+73
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* 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-294-0/+296
| | | | 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-291-1/+1
| | | | 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-281-7/+96
| | | | 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-275-32/+34
| | | | 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>
* fix errorsMattias Andrée2015-12-271-5/+6
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix punctuationMattias Andrée2015-12-271-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix errors and warningsMattias Andrée2015-12-278-3/+19
| | | | 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 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-251-4/+49
| | | | 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-231-3/+17
| | | | 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-231-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add getenvMattias Andrée2015-12-211-0/+73
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add clearenvMattias Andrée2015-12-211-0/+58
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>