Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/bind9/isc
File: once.h
/*
[0] Fix | Delete
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
[1] Fix | Delete
*
[2] Fix | Delete
* This Source Code Form is subject to the terms of the Mozilla Public
[3] Fix | Delete
* License, v. 2.0. If a copy of the MPL was not distributed with this
[4] Fix | Delete
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
[5] Fix | Delete
*
[6] Fix | Delete
* See the COPYRIGHT file distributed with this work for additional
[7] Fix | Delete
* information regarding copyright ownership.
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
[11] Fix | Delete
#ifndef ISC_ONCE_H
[12] Fix | Delete
#define ISC_ONCE_H 1
[13] Fix | Delete
[14] Fix | Delete
/*! \file */
[15] Fix | Delete
[16] Fix | Delete
#include <pthread.h>
[17] Fix | Delete
[18] Fix | Delete
#include <isc/platform.h>
[19] Fix | Delete
#include <isc/result.h>
[20] Fix | Delete
[21] Fix | Delete
typedef pthread_once_t isc_once_t;
[22] Fix | Delete
[23] Fix | Delete
#ifdef ISC_PLATFORM_BRACEPTHREADONCEINIT
[24] Fix | Delete
/*!
[25] Fix | Delete
* This accommodates systems that define PTHRAD_ONCE_INIT improperly.
[26] Fix | Delete
*/
[27] Fix | Delete
#define ISC_ONCE_INIT { PTHREAD_ONCE_INIT }
[28] Fix | Delete
#else
[29] Fix | Delete
/*!
[30] Fix | Delete
* This is the usual case.
[31] Fix | Delete
*/
[32] Fix | Delete
#define ISC_ONCE_INIT PTHREAD_ONCE_INIT
[33] Fix | Delete
#endif
[34] Fix | Delete
[35] Fix | Delete
/* XXX We could do fancier error handling... */
[36] Fix | Delete
[37] Fix | Delete
#define isc_once_do(op, f) \
[38] Fix | Delete
((pthread_once((op), (f)) == 0) ? \
[39] Fix | Delete
ISC_R_SUCCESS : ISC_R_UNEXPECTED)
[40] Fix | Delete
[41] Fix | Delete
#endif /* ISC_ONCE_H */
[42] Fix | Delete
[43] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function