Samuel Tesla (stesla) wrote in lj_dev,
Samuel Tesla
stesla
lj_dev

Here's a question for any C hackers out there....

Say you have FILE *conn which points to an open stream. You then do close(fileno(conn)); instead of fclose(conn);. Is this bad? Are there anygotchas that will occurr if I do things that way?
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 14 comments