Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
about rule20.5
#3
void foo()
{
int errno;
errno = GetValue();
if(errno == 0) //Is this usage of errno violates the rule 20.5, errno is user defined variable not from the errno.h
{

}
}
int GetValue()
{
return 10;
}
<r><COLOR color="#FF40FF"><s></s>Pundlik Oulkar<e></e></COLOR></r>
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)