diff options
author | Kim Alvefur <zash@zash.se> | 2021-03-18 23:16:41 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-03-18 23:16:41 +0100 |
commit | d18097fb6700ede8bdb47388e51e0850d0d828f6 (patch) | |
tree | 8f63224754b87b595412c35fd88013bc299ec11f /teal-src/util/pposix.d.tl | |
parent | 576b43151c407e03525623a143024bda8926e640 (diff) | |
download | prosody-d18097fb6700ede8bdb47388e51e0850d0d828f6.tar.gz prosody-d18097fb6700ede8bdb47388e51e0850d0d828f6.zip |
teal: Use new integer support in Teal 0.13.0
Diffstat (limited to 'teal-src/util/pposix.d.tl')
-rw-r--r-- | teal-src/util/pposix.d.tl | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/teal-src/util/pposix.d.tl b/teal-src/util/pposix.d.tl index 12091aa6..7e5ce60e 100644 --- a/teal-src/util/pposix.d.tl +++ b/teal-src/util/pposix.d.tl @@ -46,7 +46,7 @@ local record pposix "unlimited" end - type ulimit_limit = number | ulimit_unlimited + type ulimit_limit = integer | ulimit_unlimited record utsname sysname : string @@ -58,11 +58,11 @@ local record pposix end record memoryinfo - allocated : number - allocated_mmap : number - used : number - unused : number - returnable : number + allocated : integer + allocated_mmap : integer + used : integer + unused : integer + returnable : integer end abort : function () @@ -74,13 +74,13 @@ local record pposix syslog_log : function (level : syslog_level, src : string, msg : string) syslog_setminlevel : function (level : syslog_level) - getpid : function () : number - getuid : function () : number - getgid : function () : number + getpid : function () : integer + getuid : function () : integer + getgid : function () : integer - setuid : function (uid : string) : boolean, string -- string|number - setgid : function (uid : string) : boolean, string - initgroups : function (user : string, gid : number) : boolean, string + setuid : function (uid : integer | string) : boolean, string -- string|integer + setgid : function (uid : integer | string) : boolean, string + initgroups : function (user : string, gid : integer) : boolean, string umask : function (umask : string) : string @@ -96,9 +96,9 @@ local record pposix meminfo : function () : memoryinfo - atomic_append : function (f : FILE, s : string) : boolean, string, number + atomic_append : function (f : FILE, s : string) : boolean, string, integer - ENOENT : number + ENOENT : integer _NAME : string _VESRION : string end |