filemark 'coz you opened write only and didn't do anything else, call st_check_eod to possibly write TWO furshlugginer filemarks. Also- return any errors from writing filemarks out of stclose.