void mysetgrfile(const char *file) { grfile = file; if (grf != NULL) myendgrent(); }
static void sample_cleanup(void) { myendgrent(); }