Re: getrlimit and setrlimit interface

2016-06-20 Thread Ludovic Courtès
Andy Wingo skribis: > On Sat 21 Jun 2014 23:49, l...@gnu.org (Ludovic Courtès) writes: > >> The ‘getrlimit’ and ‘setrlimit’ procedures are not documented in the >> manual. They’re supposed to be passed a symbol or a number: >> >> (getrlimit 'nofile) == (getrlimit 7) ≍ getrlimit (RLIMIT_NOFILE,

Re: getrlimit and setrlimit interface

2016-06-20 Thread Andy Wingo
On Sat 21 Jun 2014 23:49, l...@gnu.org (Ludovic Courtès) writes: > The ‘getrlimit’ and ‘setrlimit’ procedures are not documented in the > manual. They’re supposed to be passed a symbol or a number: > > (getrlimit 'nofile) == (getrlimit 7) ≍ getrlimit (RLIMIT_NOFILE, &lim) > > For most other POS

getrlimit and setrlimit interface

2014-06-21 Thread Ludovic Courtès
The ‘getrlimit’ and ‘setrlimit’ procedures are not documented in the manual. They’re supposed to be passed a symbol or a number: (getrlimit 'nofile) == (getrlimit 7) ≍ getrlimit (RLIMIT_NOFILE, &lim) For most other POSIX functions with a similar interface, we instead define Scheme variables wi