Commit b7698451 authored by Andreas Gustafsson's avatar Andreas Gustafsson

improved comments

parent 7dacac19
......@@ -2,7 +2,7 @@
* 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
......@@ -19,13 +19,16 @@ ISC_LANG_BEGINDECLS
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment