aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/pposix.c
Commit message (Expand)AuthorAgeFilesLines
* util.pposix: Add pipe() (with support for pipe2() flags on Linux)Matthew Wild9 days1-1/+43
* util.pposix: Add remove_blocks() for deleting parts of filesKim Alvefur2023-06-071-0/+36
* util.pposix: Use Lua enum API for resource limit name argumentKim Alvefur2023-06-141-47/+33
* util: Add compat for prosody module name change to C sourcesKim Alvefur2023-03-171-1/+4
* util-src: Remove Lua 5.1 compat macrosKim Alvefur2022-07-011-5/+0
* util.pposix: Use mallinfo2() on glibc 2.33, fix #1649Kim Alvefur2022-01-061-5/+12
* util.pposix: Bind isatty(3)Kim Alvefur2021-07-041-0/+9
* util-src: Use the luaL_pushfail API added in Lua 5.4 to highlight all failure...Kim Alvefur2020-06-071-11/+14
* util.pposix,signal: Pass around various OS numbers as integers [Lua 5.3]Kim Alvefur2020-05-041-7/+10
* util.*.c: Add static qualifiers everywhereEmmanuel Gil Peyrot2019-12-011-26/+26
* Merge 0.11->trunkKim Alvefur2019-11-161-0/+4
|\
| * util.pposix: Don't define POSIX_C_SOURCE on FreeBSD to ensure visibility of i...Matthew Wild2018-12-041-0/+4
* | util.pposix: Avoid overflow of malloc info at 2GB (fixes #1445 until 4GB)Kim Alvefur2019-11-161-5/+5
|/
* util.pposix: Allow _DARWIN_C_SOURCE to be overridenKim Alvefur2018-09-081-0/+2
* Merge 0.10->trunkKim Alvefur2018-09-081-0/+3
|\
| * util.pposix: Fix or silence a warning on OS X (#1202)Kim Alvefur2018-09-081-0/+3
* | Merge 0.10->trunkKim Alvefur2018-09-081-1/+1
|\|
| * util.pposix: Fix building on OS X (#1202)Kim Alvefur2018-08-181-1/+1
* | util.pposix: Restrict use of malloc_info to glibcKim Alvefur2018-09-071-1/+1
* | util.pposix: Do not attempt to assign to stdio variables [pedantic]Kim Alvefur2018-09-071-3/+3
* | pposix: Generate an error when a passed string isn’t "unlimited".Emmanuel Gil Peyrot2018-08-081-0/+1
* | pposix, signal: Ignore unused arguments.Emmanuel Gil Peyrot2018-08-081-0/+2
* | net, pposix, signal: Check for redefined defines, fix warnings.Emmanuel Gil Peyrot2018-08-081-0/+6
* | util.pposix: Use freopen(3) when replacing standard IO streams (thanks ratche...Kim Alvefur2018-07-121-7/+3
|/
* util.pposix: Remove fallocateKim Alvefur2017-02-281-60/+1
* util.pposix: Add function for atomically appending data to a fileKim Alvefur2017-03-011-1/+64
* util-src: Specify size of various tables to be allocatedKim Alvefur2017-03-091-2/+2
* util.pposix: Use correct type for limits [-Wconstant-conversion]Kim Alvefur2017-03-071-1/+1
* util.pposix: Limit meminfo to Linux until we can figure out how to get this i...Kim Alvefur2017-03-071-1/+1
* util.pposix, configure: Move _GNU_SOURCE macro into source filesKim Alvefur2017-03-011-12/+12
* util.pposix: Expose ENOENT constant (usually 2, but you never know)Kim Alvefur2017-03-011-0/+5
* util.pposix: Fix typo in commentKim Alvefur2017-02-261-1/+1
* util-src/*.c: Attach pointer * to name instead of typeKim Alvefur2017-02-121-33/+45
* util-src/*.c: Squeeze repeated blank linesKim Alvefur2017-01-231-2/+0
* util-src: Make C modules assert that the Lua runtime matches what it was comp...Kim Alvefur2017-01-081-0/+3
* util.pposix: rfork() seems to be FreeBSD only (fixes #412)Kim Alvefur2016-12-191-2/+2
* util.pposix: Ask for shared file descriptor table using rfork() on *BSD (fixe...Kim Alvefur2016-05-251-0/+13
* util.pposix: Expose the uname GNU extension field 'domainname'Kim Alvefur2015-11-251-0/+4
* util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to supp...Kim Alvefur2015-04-261-3/+3
* util.pposix: Return error from ftruncate if that fails too (but what would we...Kim Alvefur2015-05-021-1/+4
* util-src/*.c: Per convention call luaL_error() as argument to returnFlorian Zeitz2015-04-031-1/+1
* util-src/*.c: astyle --indent=tab --brackets=attach --indent-switches --break...Kim Alvefur2015-04-031-264/+291
* util-src/*.c: Add macro for compiling with Lua 5.2Kim Alvefur2014-09-171-0/+4
* util-src/*.c: Don't create globals when loadedKim Alvefur2014-09-161-1/+2
* Merge 0.9->0.10Kim Alvefur2014-04-271-3/+9
|\
| * util.pposix: Fix error reporting from really old Linux fallocate() that did n...Kim Alvefur2014-04-251-1/+5
| * util.pposix: Fix error reporting from posix_fallocate, it doesn't use errno (...Kim Alvefur2014-04-251-2/+4
* | Merge 0.9->0.10Kim Alvefur2013-11-281-0/+2
|\|
| * util.pposix: Verify that file handle is openKim Alvefur2013-11-281-0/+2
* | Merge 0.9->trunkMatthew Wild2013-09-031-2/+2
|\|