Search Results

Search: Posts Made By: princebadshah
Forum: Programming 02-14-2012
1,675
Posted By princebadshah
sscanf() weired behaviour
Hi with the following code

int a, b;
while ((n = readline (connfd, buf, sizeof(buf)-1)) > 0)
{

buf[n] = '\0';

if (sscanf(buf,"%d %d",&a,&b) != 2)
snprintf (buf,...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 03:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy