/usr/include/gpp4/ccp4/ccp4_utils.h is in libgpp4-dev 1.3.1-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | /*
ccp4_utils.h: headers for utility functions.
Copyright (C) 2001 CCLRC, Charles Ballard
This library is free software: you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation, either
version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with This library. If not, see
<http://www.gnu.org/licenses/>.
*/
/** @file ccp4_utils.h
* @brief Utility functions.
* @author Charles Ballard
*/
#ifndef __CCP4_UTILS
#define __CCP4_UTILS
#include <string.h>
#include "ccp4_types.h"
#include "library_file.h"
#ifdef __cplusplus
namespace CCP4 {
extern "C" {
#endif
/****************************************************************************
* Function prototypes *
****************************************************************************/
size_t ccp4_utils_flength (char *, int);
int ccp4_utils_translate_mode_float(float *, const void *, int, int);
void ccp4_utils_fatal (const char *);
void ccp4_utils_print (const char *message);
int ccp4_utils_setenv (char *);
/* turn on line buffering for stdout */
int ccp4_utils_outbuf (void);
/* turn off any buffering on stdin */
int ccp4_utils_noinpbuf (void);
union float_uint_uchar ccp4_nan ();
int ccp4_utils_isnan (const union float_uint_uchar *);
void ccp4_utils_bml (int, union float_uint_uchar *);
void ccp4_utils_wrg (int, union float_uint_uchar *, float *);
void ccp4_utils_hgetlimits (int *, float *);
int ccp4_utils_mkdir (const char *, const char *);
int ccp4_utils_chmod (const char *, const char *);
void *ccp4_utils_malloc(size_t);
void *ccp4_utils_realloc(void *, size_t);
void *ccp4_utils_calloc(size_t, size_t);
int ccp4_file_size(const char *);
char *ccp4_utils_username(void);
char *ccp4_utils_basename(const char *filename);
char *ccp4_utils_pathname(const char *filename);
char *ccp4_utils_extension(const char *filename);
char *ccp4_utils_joinfilenames(char *dir, char *file);
void ccp4_utils_idate (int *);
char *ccp4_utils_date(char *);
void ccp4_utils_itime (int *);
char *ccp4_utils_time(char *);
float ccp4_utils_etime (float *);
#if defined (_MSC_VER)
double ccp4_erfc( double x );
#endif
/****************************************************************************
* End of prototypes *
*****************************************************************************/
#ifdef __cplusplus
}
}
#endif
#endif /* __CCP4_UTILS */
/*
Local variables:
mode: font-lock
End:
*/
|