osprey/libf/fio/fstring.c File Reference

#include <alloca.h>
#include <string.h>

Include dependency graph for fstring.c:

Go to the source code of this file.

Defines

#define BLANK   ((int) ' ')
#define NUMBLNKS   128

Functions/Subroutines

void b_pad (char *str, int len)
void s_cat (char *dest, char *src[], int slen[], int *num, int dlen)
void s_copy (char *s1, char *s2, int l1, int l2)
int s_cmp (char *s1, char *s2, int l1, int l2)

Variables

static char * blanks


Define Documentation

#define BLANK   ((int) ' ')

Definition at line 48 of file fstring.c.

#define NUMBLNKS   128

Definition at line 49 of file fstring.c.

Referenced by s_cmp().


Function Documentation

void b_pad ( char *  str,
int  len 
)

Definition at line 65 of file fstring.c.

References BLANK, and memset.

Referenced by s_copy().

void s_cat ( char *  dest,
char *  src[],
int  slen[],
int *  num,
int  dlen 
)

Definition at line 104 of file fstring.c.

References alloca, BLANK, buf, i, len, memcpy, memset, and void.

Referenced by process_concatexpr().

int s_cmp ( char *  s1,
char *  s2,
int  l1,
int  l2 
)

Definition at line 204 of file fstring.c.

References blanks, len, memcmp, NUMBLNKS, and ret.

Referenced by ef1cmc_(), hl_ge(), hl_gt(), hl_le(), hl_lt(), l_ge(), l_gt(), l_le(), and l_lt().

void s_copy ( char *  s1,
char *  s2,
int  l1,
int  l2 
)

Definition at line 160 of file fstring.c.

References BLANK, len, memmove, memset, and void.

Referenced by ef1asc_(), fdate_(), and G77_gerror_0().


Variable Documentation

char* blanks [static]

Initial value:

  "                                "  
  "                                "  
  "                                "  
  "                                "

Definition at line 51 of file fstring.c.

Referenced by _frwd(), _ld_write(), and s_cmp().


Generated on Wed Apr 8 15:53:17 2009 for Open64 by  doxygen 1.5.6