<commit_before>/*
 *           IBP Client version 1.0:  Internet BackPlane Protocol
 *               University of Tennessee, Knoxville TN.
 *          Authors: <NAME>, <NAME>, <NAME>, <NAME>
 *                   (C) 1999 All Rights Reserved
 *
 *                              NOTICE
 *
 * Permission to use, copy, modify, and distribute this software and
 * its documentation for any purpose and without fee is hereby granted
 * provided that the above copyright notice appear in all copies and
 * that both the copyright notice and this permission notice appear in
 * supporting documentation.
 *
 * Neither the Institution (University of Tennessee) nor the Authors
 * make any representations about the suitability of this software for
 * any purpose. This software is provided ``as is'' without express or
 * implied warranty.
 *
 */

/*
 * ibp_errno.h
 *
 * Definition of errno handling function and/or variable
 */

# ifndef _IBP_ERRNO_H
# define _IBP_ERRNO_H

#include "ibp/ibp_visibility.h"

# ifdef __cplusplus
extern "C" {
# endif



/*********************************************************
 * Global variable definition
 *********************************************************/

/*
* definition of errno code
*/
# define PTHREAD_SUPPORTED 1
#if PTHREAD_SUPPORTED
IBP_API extern int *_IBP_errno();
#define IBP_errno ( *_IBP_errno())
#else
extern int	IBP_errno;
#endif


/***********************************************************
 * Subroutines definition
 ***********************************************************/

void _set_errno( int errno);
int	 _get_errno();

# ifdef __cplusplus
}
# endif

# endif /* _IBP_ERRNO_H */<commit_msg>Remove extraneous pthread check<commit_after>/*
 *           IBP Client version 1.0:  Internet BackPlane Protocol
 *               University of Tennessee, Knoxville TN.
 *          Authors: <NAME>, <NAME>, <NAME>, <NAME>
 *                   (C) 1999 All Rights Reserved
 *
 *                              NOTICE
 *
 * Permission to use, copy, modify, and distribute this software and
 * its documentation for any purpose and without fee is hereby granted
 * provided that the above copyright notice appear in all copies and
 * that both the copyright notice and this permission notice appear in
 * supporting documentation.
 *
 * Neither the Institution (University of Tennessee) nor the Authors
 * make any representations about the suitability of this software for
 * any purpose. This software is provided ``as is'' without express or
 * implied warranty.
 *
 */

/*
 * ibp_errno.h
 *
 * Definition of errno handling function and/or variable
 */

# ifndef _IBP_ERRNO_H
# define _IBP_ERRNO_H

#include "ibp/ibp_visibility.h"

# ifdef __cplusplus
extern "C" {
# endif



/*********************************************************
 * Global variable definition
 *********************************************************/

/*
* definition of errno code
*/
IBP_API extern int *_IBP_errno();

/***********************************************************
 * Subroutines definition
 ***********************************************************/

void _set_errno( int errno);
int	 _get_errno();

# ifdef __cplusplus
}
# endif

# endif /* _IBP_ERRNO_H */
{'fraction_non_alphanumeric': 0.2140625, 'fraction_numerical': 0.0040625, 'mean_word_length': 3.7212389380530975, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4850712', 'n_tokens_mistral': 866, 'n_tokens_neox': 797, 'n_words': 304}