bc_util.c File Reference

#include "bc_machdefs.h"
#include "bc_macrorus.h"
#include "bc_util.h"

Include dependency graph for bc_util.c:

Go to the source code of this file.

Functions

int gethostname (char *, size_t)
static int isprime (unsigned int x)
unsigned int CCutil_nextprime (unsigned int x)
int CCutil_our_gcd (int a, int b)
int CCutil_our_lcm (int a, int b)
char * CCutil_strchr (char *s, int c)
const char * CCutil_strchr_c (const char *s, int c)
char * CCutil_strrchr (char *s, int c)
const char * CCutil_strrchr_c (const char *s, int c)
char * CCutil_strdup (const char *s)
char * CCutil_strdup2 (const char *s)
void CCutil_readstr (FILE *f, char *s, int len)
void CCutil_printlabel (void)
int CCutil_print_command (int ac, char **av)


Function Documentation

unsigned int CCutil_nextprime (  unsigned int  x  ) 
 

Definition at line 92 of file bc_util.c.

int CCutil_our_gcd (  int  a,
int  b
) 
 

Definition at line 116 of file bc_util.c.

int CCutil_our_lcm (  int  a,
int  b
) 
 

Definition at line 137 of file bc_util.c.

int CCutil_print_command (  int  ac,
char **  av
) 
 

Definition at line 275 of file bc_util.c.

void CCutil_printlabel (  void   ) 
 

Definition at line 261 of file bc_util.c.

void CCutil_readstr (  FILE *  f,
char *  s,
int  len
) 
 

Definition at line 243 of file bc_util.c.

char* CCutil_strchr (  char *  s,
int  c
) 
 

Definition at line 152 of file bc_util.c.

const char* CCutil_strchr_c (  const char *  s,
int  c
) 
 

Definition at line 164 of file bc_util.c.

char* CCutil_strdup (  const char *  s  ) 
 

Definition at line 204 of file bc_util.c.

char* CCutil_strdup2 (  const char *  s  ) 
 

Definition at line 217 of file bc_util.c.

char* CCutil_strrchr (  char *  s,
int  c
) 
 

Definition at line 176 of file bc_util.c.

const char* CCutil_strrchr_c (  const char *  s,
int  c
) 
 

Definition at line 190 of file bc_util.c.

int gethostname (  char *  ,
size_t 
) 
 

static int isprime (  unsigned int  x  )  [static]
 

Definition at line 102 of file bc_util.c.


Generated on Thu Oct 20 14:58:44 2005 for DominoParitySeparator by  doxygen 1.4.5