chiark / gitweb /
basic/fileio: add helper function for a set of two common checks