Corinna Vinschen wrote on 2/15/21 3:48 PM:
> On Feb 15 14:54, Patrick Chkoreff wrote:
>> Corinna Vinschen wrote on 2/15/21 4:14 AM:
>> To fix that, I must define _USE_XOPEN
>
> You really, really must not use this macro.
I'm glad to hear something definitive about th
Corinna Vinschen wrote on 2/15/21 4:14 AM:
> That looks wrong. The __USE_ flags are internal flags from
> GLibc and not supposed to be used by application code. Check the Linux
> man page for strptime, the usage of _XOPEN_SOURCE or another flag
> including _XOPEN_SOURCE (e. g. _GNU_SOURCE) is re
Ken Brown via Cygwin wrote on 2/11/21 9:06 PM:
> Cygwin's setrlimit only supports a few resources, as you can see in the
> source:
>
> https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/resource.cc;h=9e9d223466b7635b990d6c9e0bfb9e2e9a46;hb=HEAD#l201
Thank you to all who repli
I'm trying to use setrlimit to impose limits on various resources such
as CPU time and memory. The call to setrlimit always fails. I've
distilled this into the following example test.c:
#include
#include
#include
int main(void)
{
struct rlimit rlim;
rlim.rlim_cur = 1;
rlim.rl
4 matches
Mail list logo