fsaccess_test.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
0ad489b182ebb3789322345e22cf750f88ae167and * Copyright (C) 2000, 2001, 2004, 2005, 2007, 2012, 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
15b0d99a66145e797cbe368bff5e44d5653be5e5nd * This Source Code Form is subject to the terms of the Mozilla Public
0ad489b182ebb3789322345e22cf750f88ae167and * License, v. 2.0. If a copy of the MPL was not distributed with this
0ad489b182ebb3789322345e22cf750f88ae167and * file, You can obtain one at http://mozilla.org/MPL/2.0/.
031b91a62d25106ae69d4693475c79618dd5e884fielding/* $Id: fsaccess_test.c,v 1.13 2007/06/19 23:46:59 tbox Exp $ */
031b91a62d25106ae69d4693475c79618dd5e884fielding/*! \file */
0ad489b182ebb3789322345e22cf750f88ae167and if (n != 0) {
0ad489b182ebb3789322345e22cf750f88ae167and isc_fsaccess_add(ISC_FSACCESS_OWNER | ISC_FSACCESS_GROUP,
0ad489b182ebb3789322345e22cf750f88ae167and isc_fsaccess_add(ISC_FSACCESS_OTHER, ISC_FSACCESS_READ, &access);
0ad489b182ebb3789322345e22cf750f88ae167and fprintf(stderr, "result = %s\n", isc_result_totext(result));
0ad489b182ebb3789322345e22cf750f88ae167and return (0);