common_drivers.h

Definition common to all drivers.

Summary
common_drivers.hDefinition common to all drivers.
myupcaseRewrites s to upper case.
mysubstrCopy len element, from S[pos] in s.
mysubstr2Copy the number placed between a and b in fmt.

myupcase

void myupcase(char *S)

Rewrites s to upper case.

Parameters

sstring to rexwrite in upcase.

mysubstr

void mysubstr(char *s,
const char *S,
const pastix_int_t pos,
const pastix_int_t len)

Copy len element, from S[pos] in s.

Parameters

sdestination
SSource
possarting position
lenSize of the string to copy.

mysubstr2

void mysubstr2(const char *fmt,
const char a,
const char b,
pastix_int_t *val)

Copy the number placed between a and b in fmt.

Parameters

fmtString in which there is a and b
afirst element
blast element
valthe integer between a and b
void myupcase(char *S)
Rewrites s to upper case.
void mysubstr(char *s,
const char *S,
const pastix_int_t pos,
const pastix_int_t len)
Copy len element, from S[pos] in s.
void mysubstr2(const char *fmt,
const char a,
const char b,
pastix_int_t *val)
Copy the number placed between a and b in fmt.
Close