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? 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?