* Copyright
*/
-/* $Id: os.h,v 1.1 2001/08/03 05:56:22 marka Exp $ */
+/* $Id: os.h,v 1.2 2001/08/03 23:06:46 gson Exp $ */
#ifndef RNDC_OS_H
#define RNDC_OS_H 1
FILE *safe_create(const char *filename);
/*
- * Create and open 'filename' for writing. Fail if 'filename' exist.
+ * Create and open 'filename' for writing.
+ * Return NULL if 'filename' already exists.
*/
int set_user(FILE *fd, const char *user);
/*
* Set the owner of the file refernced by 'fd' to 'user'.
- * Fail is insufficient permissions or 'user' does not exist.
+ * Returns:
+ * 0 success
+ * -1 insufficient permissions, or 'user' does not exist.
*/
ISC_LANG_ENDDECLS