"Fossies" - the Fresh Open Source Software Archive

Member "bind-9.16.7/bin/rndc/include/rndc/os.h" (4 Sep 2020, 756 Bytes) of package /linux/misc/dns/bind9/9.16.7/bind-9.16.7.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "os.h" see the Fossies "Dox" file reference documentation.

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