safe.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 2013, 2015, 2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*! \file */
#include <config.h>
#ifdef _MSC_VER
#endif
isc_uint8_t acc = 0;
if (n != 0U) {
do {
} while (--n != 0U);
}
}
int
size_t i;
for (i = 0; i < len; i++) {
/* lt is -1 if p1[i] < p2[i]; else 0. */
/* gt is -1 if p1[i] > p2[i]; else 0. */
/* cmp is 1 if p1[i] > p2[i]; -1 if p1[i] < p2[i]; else 0. */
/* set res = cmp if !done. */
/* set done if p1[i] != p2[i]. */
}
return (res);
}