bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xdrrec_endoffile problem


From: Stephane Demurget
Subject: xdrrec_endoffile problem
Date: 19 Dec 2001 13:29:33 +0100

Hi,

Attached is a sample tiny source file which use xdrrec_* functions of
the sun rpc. All this is working nice, except the xdrrec_endoffile
function, which returns it doesn't work, even if the result is okay !

I've read two books which never check the returned value, without
telling why, and I saw in the glibc sources rpc/ directory too :

        (void) xdrrec_endofrecord (xdrs, TRUE);

Can someone explain me what I need to fix in my code, or do I've got to
ignore the returned value ?

Regards,

--Stef

Attachment: main.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]