Annotation of src/external/mpl/bind/dist/bin/confgen/include/confgen/os.h, Revision 1.1.1.4
1.1 christos 1: /* $NetBSD$ */
2:
3: /*
4: * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
5: *
1.1.1.4 ! christos 6: * SPDX-License-Identifier: MPL-2.0
! 7: *
1.1 christos 8: * This Source Code Form is subject to the terms of the Mozilla Public
9: * License, v. 2.0. If a copy of the MPL was not distributed with this
1.1.1.3 christos 10: * file, you can obtain one at https://mozilla.org/MPL/2.0/.
1.1 christos 11: *
12: * See the COPYRIGHT file distributed with this work for additional
13: * information regarding copyright ownership.
14: */
15:
16: /*! \file */
17:
18: #ifndef RNDC_OS_H
19: #define RNDC_OS_H 1
20:
21: #include <stdio.h>
22:
1.1.1.2 christos 23: #include <isc/lang.h>
24:
1.1 christos 25: ISC_LANG_BEGINDECLS
26:
1.1.1.2 christos 27: int
28: set_user(FILE *fd, const char *user);
1.1 christos 29: /*%<
30: * Set the owner of the file referenced by 'fd' to 'user'.
31: * Returns:
32: * 0 success
33: * -1 insufficient permissions, or 'user' does not exist.
34: */
35:
36: ISC_LANG_ENDDECLS
37:
1.1.1.2 christos 38: #endif /* ifndef RNDC_OS_H */
CVSweb <webmaster@jp.NetBSD.org>