Search:

Type: Posts; User: nonoob

Search: Search took 0.02 seconds.

  1. Replies
    20
    Views
    45,221

    I don't agree. Granted there are various return...

    I don't agree. Granted there are various return codes allowable depending on the specific function. You have to look it up and treat each accordingly.

    I would only check errno in an error case. I...
  2. Replies
    20
    Views
    45,221

    Normally you should only check errno if something...

    Normally you should only check errno if something went wrong... like a function returned:

    fopen() returned a NULL
    fwrite() returned a count written which was not what was intended
    rename()...
Results 1 to 2 of 2