Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/bind9/isc
File: parseint.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_PARSEINT_H
[12] Fix | Delete
#define ISC_PARSEINT_H 1
[13] Fix | Delete
[14] Fix | Delete
#include <inttypes.h>
[15] Fix | Delete
[16] Fix | Delete
#include <isc/lang.h>
[17] Fix | Delete
#include <isc/types.h>
[18] Fix | Delete
[19] Fix | Delete
/*! \file isc/parseint.h
[20] Fix | Delete
* \brief Parse integers, in a saner way than atoi() or strtoul() do.
[21] Fix | Delete
*/
[22] Fix | Delete
[23] Fix | Delete
/***
[24] Fix | Delete
*** Functions
[25] Fix | Delete
***/
[26] Fix | Delete
[27] Fix | Delete
ISC_LANG_BEGINDECLS
[28] Fix | Delete
[29] Fix | Delete
isc_result_t
[30] Fix | Delete
isc_parse_uint32(uint32_t *uip, const char *string, int base);
[31] Fix | Delete
[32] Fix | Delete
isc_result_t
[33] Fix | Delete
isc_parse_uint16(uint16_t *uip, const char *string, int base);
[34] Fix | Delete
[35] Fix | Delete
isc_result_t
[36] Fix | Delete
isc_parse_uint8(uint8_t *uip, const char *string, int base);
[37] Fix | Delete
/*%<
[38] Fix | Delete
* Parse the null-terminated string 'string' containing a base 'base'
[39] Fix | Delete
* integer, storing the result in '*uip'.
[40] Fix | Delete
* The base is interpreted
[41] Fix | Delete
* as in strtoul(). Unlike strtoul(), leading whitespace, minus or
[42] Fix | Delete
* plus signs are not accepted, and all errors (including overflow)
[43] Fix | Delete
* are reported uniformly through the return value.
[44] Fix | Delete
*
[45] Fix | Delete
* Requires:
[46] Fix | Delete
*\li 'string' points to a null-terminated string
[47] Fix | Delete
*\li 0 <= 'base' <= 36
[48] Fix | Delete
*
[49] Fix | Delete
* Returns:
[50] Fix | Delete
*\li #ISC_R_SUCCESS
[51] Fix | Delete
*\li #ISC_R_BADNUMBER The string is not numeric (in the given base)
[52] Fix | Delete
*\li #ISC_R_RANGE The number is not representable as the requested type.
[53] Fix | Delete
*/
[54] Fix | Delete
[55] Fix | Delete
ISC_LANG_ENDDECLS
[56] Fix | Delete
[57] Fix | Delete
#endif /* ISC_PARSEINT_H */
[58] Fix | Delete
[59] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function