winman: fclose() takes a FILE*, not the function close(), as its parameter.