Thanks for all the replies. Replaced all "||"'s with "or"'s, and am getting expected return from fcntl call.
Will also brush up on precedence rules.
In reply to Re: Using fcntl function for the first time
by matrixx515
in thread Using fcntl function for the first time
by matrixx515
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |