FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_util.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <time.h>
#include <ctype.h>
#include <errno.h>
#include "hecmw_config.h"
#include "hecmw_util.h"
Include dependency graph for hecmw_util.c:

Go to the source code of this file.

Functions

void HECMW_fprintf (FILE *fp, char *fmt,...)
 
void HECMW_printerr (char *fmt,...)
 
char * HECMW_get_date (void)
 
char * HECMW_get_date_r (char *buf, int len)
 
void HECMW_assert_ (int cond, char *cond_str, char *file, int line)
 
int HECMW_check_condition_ (int cond, char *cond_str, int isabort, char *file, int line)
 
void HECMW_abort (HECMW_Comm comm)
 
char * HECMW_toupper (char *s)
 
char * HECMW_tolower (char *s)
 
void HECMW_print_error (void)
 
void HECMW_print_vmsg (int loglv, int msgno, const char *fmt, va_list ap)
 
void HECMW_print_msg (int loglv, int msgno, const char *fmt,...)
 
int HECMW_vsnprintf (char *str, size_t size, const char *format, va_list ap)
 
int HECMW_snprintf (char *str, size_t size, const char *format,...)
 

Function Documentation

◆ HECMW_abort()

void HECMW_abort ( HECMW_Comm  comm)

Definition at line 88 of file hecmw_util.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HECMW_assert_()

void HECMW_assert_ ( int  cond,
char *  cond_str,
char *  file,
int  line 
)

Definition at line 62 of file hecmw_util.c.

◆ HECMW_check_condition_()

int HECMW_check_condition_ ( int  cond,
char *  cond_str,
int  isabort,
char *  file,
int  line 
)

Definition at line 73 of file hecmw_util.c.

◆ HECMW_fprintf()

void HECMW_fprintf ( FILE *  fp,
char *  fmt,
  ... 
)

Definition at line 15 of file hecmw_util.c.

◆ HECMW_get_date()

char* HECMW_get_date ( void  )

Definition at line 29 of file hecmw_util.c.

◆ HECMW_get_date_r()

char* HECMW_get_date_r ( char *  buf,
int  len 
)

Definition at line 41 of file hecmw_util.c.

◆ HECMW_print_error()

void HECMW_print_error ( void  )

Definition at line 124 of file hecmw_util.c.

Here is the call graph for this function:

◆ HECMW_print_msg()

void HECMW_print_msg ( int  loglv,
int  msgno,
const char *  fmt,
  ... 
)

Definition at line 138 of file hecmw_util.c.

Here is the call graph for this function:

◆ HECMW_print_vmsg()

void HECMW_print_vmsg ( int  loglv,
int  msgno,
const char *  fmt,
va_list  ap 
)

Definition at line 126 of file hecmw_util.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HECMW_printerr()

void HECMW_printerr ( char *  fmt,
  ... 
)

Definition at line 22 of file hecmw_util.c.

◆ HECMW_snprintf()

int HECMW_snprintf ( char *  str,
size_t  size,
const char *  format,
  ... 
)

Definition at line 153 of file hecmw_util.c.

Here is the caller graph for this function:

◆ HECMW_tolower()

char* HECMW_tolower ( char *  s)

Definition at line 113 of file hecmw_util.c.

Here is the call graph for this function:

◆ HECMW_toupper()

char* HECMW_toupper ( char *  s)

Definition at line 102 of file hecmw_util.c.

Here is the call graph for this function:

◆ HECMW_vsnprintf()

int HECMW_vsnprintf ( char *  str,
size_t  size,
const char *  format,
va_list  ap 
)

Definition at line 145 of file hecmw_util.c.

Here is the caller graph for this function: