#include <string.h>
#include "ccp4_types.h"
#include "library_file.h"
Go to the source code of this file.
Functions | |
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 *) |
int | ccp4_utils_outbuf (void) |
int | ccp4_utils_noinpbuf (void) |
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 *) |
|
Extracts the basename from a full file name. Separators for directories and extensions are OS-specific.
|
|
This is a wrapper for the calloc function, which adds some error trapping.
|
|
|
|
|
|
Extracts the extension from a full file name. Separators for directories and extensions are OS-specific.
|
|
Gets the length of a Fortran string with trailing blanks removed.
|
|
|
|
|
|
Joins a leading directory with a filename. Separators for directories and extensions are OS-specific.
|
|
This is a wrapper for the malloc function, which adds some error trapping.
|
|
|
|
|
|
|
|
Extracts the pathname from a full file name. Separators for directories and extensions are OS-specific.
|
|
|
|
This is a wrapper for the realloc function, which adds some error trapping.
|
|
|
|
Alternative to ccp4_utils_itime with time as character string.
|
|
|
|
Return the user's login name. (MVisualStudio version in w32mvs.c) Note that getlogin only works for processes attached to a terminal (and hence won't work from the GUI). In these instances use getpwuid instead.
|