Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 1995 11:41:28 +0100
From:      se@zpr.uni-koeln.de (Stefan Esser)
To:        -Vince- <vince@apollo.cosc.gov>
Cc:        current@freebsd.org
Subject:   Re: select() and setrlimit() broken
Message-ID:  <199511281041.AA15437@Sysiphos>
In-Reply-To: -Vince- <vince@apollo.COSC.GOV> "select() and setrlimit() broken" (Nov 27, 16:13)

next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 27, 16:13, -Vince- wrote:
} Subject: select() and setrlimit() broken
} 
} 	Does anyone know if select() and setrlimit() is broken in -CURRENT since 
} they don't behave the way they should as compared to every other UN*X 
} variant.  Any info would be helpful.  Thanks!

Did you make sure you used the correct types for setrlimit ?


int setrlimit(int resource, struct rlimit *rlp);

struct rlimit {
	quad_t  rlim_cur;       /* current (soft) limit */
	quad_t  rlim_max;       /* hard limit */
};


The two fields of this struct are unsigned long on most other systems ...

Regards, STefan
-- 
 Stefan Esser, Zentrum fuer Paralleles Rechnen		Tel:	+49 221 4706021
 Universitaet zu Koeln, Weyertal 80, 50931 Koeln	FAX:	+49 221 4705160
 ==============================================================================
 http://www.zpr.uni-koeln.de/~se			  <se@ZPR.Uni-Koeln.DE>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511281041.AA15437>