minor code cleanups (#21215)
This commit is contained in:
parent
e9ed090c33
commit
cf1b16ef8b
6 changed files with 32 additions and 36 deletions
|
|
@ -1140,12 +1140,12 @@ type
|
|||
## The getrlimit() and setrlimit() system calls get and set resource limits respectively.
|
||||
## Each resource has an associated soft and hard limit, as defined by the RLimit structure
|
||||
|
||||
proc setrlimit*(resource: cint, rlp: var RLimit): cint
|
||||
{.importc: "setrlimit",header: "<sys/resource.h>".}
|
||||
proc setrlimit*(resource: cint, rlp: var RLimit): cint {.
|
||||
importc: "setrlimit", header: "<sys/resource.h>".}
|
||||
## The setrlimit() system calls sets resource limits.
|
||||
|
||||
proc getrlimit*(resource: cint, rlp: var RLimit): cint
|
||||
{.importc: "getrlimit",header: "<sys/resource.h>".}
|
||||
proc getrlimit*(resource: cint, rlp: var RLimit): cint {.
|
||||
importc: "getrlimit", header: "<sys/resource.h>".}
|
||||
## The getrlimit() system call gets resource limits.
|
||||
|
||||
when defined(nimHasStyleChecks):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue