CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

rcv_buffer_bytes() returns negative values?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Arbeitslos



Joined: 08 Apr 2025
Posts: 1

View user's profile Send private message AIM Address

rcv_buffer_bytes() returns negative values?
PostPosted: Tue Apr 08, 2025 4:21 pm     Reply with quote

The CCS C Manual doesn't explain that the value is returned can be negative and what to do with it.

Can someone help?

usage:
value=rcv_buffer_bytes(stream)

Returns:
Number of bytes in receive buffer that still need to be retrieved

Function:
Function to determine the number of bytes in receive buffer that still need to be retrieve
_________________
arbeitslos
temtronic



Joined: 01 Jul 2010
Posts: 9457
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Apr 08, 2025 5:44 pm     Reply with quote

silly question but... is the variable 'value' been declared an 'unsigned integer' ?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group