ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Macros | Functions
mcd.h File Reference
#include <stdio.h>
Include dependency graph for mcd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MCD_VERSION   0x010201
 

Functions

void * MCD_malloc (int size, char *, char *, int)
 
void * MCD_calloc (int size, char *, char *, int)
 
void * MCD_realloc (void *p, int size, char *, char *, int)
 
char * MCD_getcwd (char *p, int size, char *, char *, int)
 
char * MCD_strdup (char *s, char *, char *, int)
 
char * MCD_strndup (char *s, int n, char *, char *, int)
 
int MCD_scanf (const char *fmt, char *fun, char *file, int line,...)
 
int MCD_fscanf (FILE *stream, const char *fmt, char *fun, char *file, int line,...)
 
int MCD_sscanf (const char *str, const char *fmt, char *fun, char *file, int line,...)
 
void MCD_free (void *p, char *, char *, int)
 
void showMemStats (void)
 
void _MCD_RealTimeLog (FILE *)
 
void _MCD_MemStatLog (FILE *)
 

Macro Definition Documentation

◆ MCD_VERSION

#define MCD_VERSION   0x010201

Function Documentation

◆ _MCD_MemStatLog()

void _MCD_MemStatLog ( FILE *  f)

◆ _MCD_RealTimeLog()

void _MCD_RealTimeLog ( FILE *  f)

◆ MCD_calloc()

void * MCD_calloc ( int  size,
char *  fun,
char *  file,
int  line 
)
Here is the call graph for this function:

◆ MCD_free()

void MCD_free ( void *  p,
char *  fun,
char *  file,
int  line 
)
Here is the call graph for this function:

◆ MCD_fscanf()

int MCD_fscanf ( FILE *  stream,
const char *  fmt,
char *  fun,
char *  file,
int  line,
  ... 
)
Here is the call graph for this function:

◆ MCD_getcwd()

char * MCD_getcwd ( char *  p,
int  size,
char *  ,
char *  ,
int   
)

◆ MCD_malloc()

void * MCD_malloc ( int  size,
char *  fun,
char *  file,
int  line 
)
Here is the call graph for this function:

◆ MCD_realloc()

void * MCD_realloc ( void *  p,
int  size,
char *  fun,
char *  file,
int  line 
)
Here is the call graph for this function:

◆ MCD_scanf()

int MCD_scanf ( const char *  fmt,
char *  fun,
char *  file,
int  line,
  ... 
)
Here is the call graph for this function:

◆ MCD_sscanf()

int MCD_sscanf ( const char *  str,
const char *  fmt,
char *  fun,
char *  file,
int  line,
  ... 
)
Here is the call graph for this function:

◆ MCD_strdup()

char * MCD_strdup ( char *  s,
char *  fun,
char *  file,
int  line 
)
Here is the call graph for this function:

◆ MCD_strndup()

char * MCD_strndup ( char *  s,
int  n,
char *  fun,
char *  file,
int  line 
)
Here is the call graph for this function:

◆ showMemStats()

void showMemStats ( void  )
Here is the call graph for this function: