delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/12/22/01:27:51

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Date: 22 Dec 2003 08:23:55 +0200
Message-Id: <usmjdtlok.fsf@elta.co.il>
From: Eli Zaretskii <eliz AT elta DOT co DOT il>
To: djgpp-workers AT delorie DOT com
Subject: rlim_t
Reply-To: djgpp-workers AT delorie DOT com

The latest Posix standard defines the rlim_t data type, which is the
type used to specify limits in sys/resource.h.  I've looked at the
current CVS, and we don't have rlim_t.  So how about adding

  typedef long rlim_t;

to sys/resource.h and then using rlim_t instead of long in both
struct rlimit and struct rusage?  It sounds like a simple change.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019