SURFEX v8.1
General documentation of Surfex
Functions
lfi_util.c File Reference

Go to the source code of this file.

Functions

character_len lfi_fstrlen (const character *fstr, const character_len len)
 
char * lfi_fstrdup (const character *fstr, const character_len len, char *cstr)
 
int lfi_fstrcmp (const character *s1, const character *s2, character_len len1, character_len len2)
 
char * lfi_fdirname (const character *fstr, const character_len len)
 
int lfi_copy (const char *f1, const char *f2)
 
int lfi_fcopy (const character *cnomf1, const character *cnomf2, character_len cnomf1_len, character_len cnomf2_len)
 
int lfi_fsmartcopy (const character *cnomf1, const character *cnomf2, int copy, character_len cnomf1_len, character_len cnomf2_len)
 
int lfi_smartcopy (const char *f1, const char *f2, int copy)
 
int lfi_mkdir (const char *path)
 
const char * lfi_cleanup_path (char *path)
 
char * lfi_make_relative_path (const char *base, char *path)
 
int lfi_rmdir (const char *path)
 
const char * lfi_dirname (const char *path)
 

Function Documentation

◆ lfi_cleanup_path()

const char* lfi_cleanup_path ( char *  path)

Definition at line 169 of file lfi_util.c.

Here is the caller graph for this function:

◆ lfi_copy()

int lfi_copy ( const char *  f1,
const char *  f2 
)

Definition at line 83 of file lfi_util.c.

Here is the caller graph for this function:

◆ lfi_dirname()

const char* lfi_dirname ( const char *  path)

Definition at line 278 of file lfi_util.c.

Here is the caller graph for this function:

◆ lfi_fcopy()

int lfi_fcopy ( const character cnomf1,
const character cnomf2,
character_len  cnomf1_len,
character_len  cnomf2_len 
)

Definition at line 125 of file lfi_util.c.

Here is the call graph for this function:

◆ lfi_fdirname()

char* lfi_fdirname ( const character fstr,
const character_len  len 
)

Definition at line 66 of file lfi_util.c.

◆ lfi_fsmartcopy()

int lfi_fsmartcopy ( const character cnomf1,
const character cnomf2,
int  copy,
character_len  cnomf1_len,
character_len  cnomf2_len 
)

Definition at line 132 of file lfi_util.c.

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

◆ lfi_fstrcmp()

int lfi_fstrcmp ( const character s1,
const character s2,
character_len  len1,
character_len  len2 
)

Definition at line 49 of file lfi_util.c.

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

◆ lfi_fstrdup()

char* lfi_fstrdup ( const character fstr,
const character_len  len,
char *  cstr 
)

Definition at line 30 of file lfi_util.c.

Here is the caller graph for this function:

◆ lfi_fstrlen()

character_len lfi_fstrlen ( const character fstr,
const character_len  len 
)

Definition at line 20 of file lfi_util.c.

Here is the caller graph for this function:

◆ lfi_make_relative_path()

char* lfi_make_relative_path ( const char *  base,
char *  path 
)

Definition at line 207 of file lfi_util.c.

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

◆ lfi_mkdir()

int lfi_mkdir ( const char *  path)

Definition at line 157 of file lfi_util.c.

Here is the caller graph for this function:

◆ lfi_rmdir()

int lfi_rmdir ( const char *  path)

Definition at line 272 of file lfi_util.c.

Here is the caller graph for this function:

◆ lfi_smartcopy()

int lfi_smartcopy ( const char *  f1,
const char *  f2,
int  copy 
)

Definition at line 140 of file lfi_util.c.

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