Hi Amit, On Tue, Jun 01, 2004 at 12:06:25PM +0530, aksingh@xxxxxxxxxxx told us: > > Hi, > > Correct me if I am wrong, if I give -1 as the timeout parameter to > ipq_read, then ipq_read returns : > > -1 incase of an error, > a +ve non zero value, if there was something to read > 0 if there was nothing to read, or a non-blocked signal was caught . Right. > > Also, since I gave this -ve value as timeout parameter ipq_read would > return immediately if there was nothing to read . Also right. > > regards > Amit > Sven -- Linux zion 2.6.7-rc2 #2 Mon May 31 22:58:01 CEST 2004 i686 athlon i386 GNU/Linux 08:59:34 up 9:59, 3 users, load average: 0.00, 0.01, 0.00
Attachment:
pgp00883.pgp
Description: PGP signature