vls.c File Reference

The variable length string package. More...

#include "common.h"
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <strings.h>
#include "machine.h"
#include "bu.h"

Include dependency graph for vls.c:

Go to the source code of this file.

Functions

void bu_vls_init (register struct bu_vls *vp)
void bu_vls_init_if_uninit (register struct bu_vls *vp)
bu_vlsbu_vls_vlsinit ()
char * bu_vls_addr (register const struct bu_vls *vp)
void bu_vls_extend (register struct bu_vls *vp, unsigned int extra)
void bu_vls_setlen (struct bu_vls *vp, int newlen)
int bu_vls_strlen (register const struct bu_vls *vp)
void bu_vls_trunc (register struct bu_vls *vp, int len)
void bu_vls_trunc2 (register struct bu_vls *vp, int len)
void bu_vls_nibble (register struct bu_vls *vp, int len)
void bu_vls_free (register struct bu_vls *vp)
void bu_vls_vlsfree (register struct bu_vls *vp)
char * bu_vls_strdup (register const struct bu_vls *vp)
char * bu_vls_strgrab (register struct bu_vls *vp)
void bu_vls_strcpy (register struct bu_vls *vp, const char *s)
void bu_vls_strncpy (register struct bu_vls *vp, const char *s, long int n)
void bu_vls_strcat (register struct bu_vls *vp, const char *s)
void bu_vls_strncat (register struct bu_vls *vp, const char *s, long int n)
void bu_vls_vlscat (register struct bu_vls *dest, register const struct bu_vls *src)
void bu_vls_vlscatzap (register struct bu_vls *dest, register struct bu_vls *src)
void bu_vls_from_argv (register struct bu_vls *vp, int argc, const char *argv[])
int bu_argv_from_string (char **argv, int lim, register char *lp)
void bu_vls_fwrite (FILE *fp, const struct bu_vls *vp)
void bu_vls_write (int fd, const struct bu_vls *vp)
int bu_vls_read (struct bu_vls *vp, int fd)
int bu_vls_gets (register struct bu_vls *vp, register FILE *fp)
void bu_vls_putc (register struct bu_vls *vp, int c)
void bu_vls_trimspace (struct bu_vls *vp)
void bu_vls_printf (struct bu_vls *vls, char *fmt, a, b, c, d, e, f, g, h, i, j)
void bu_vls_sprintf (struct bu_vls *vls, char *fmt, a, b, c, d, e, f, g, h, i, j)
void bu_vls_spaces (register struct bu_vls *vp, int cnt)
int bu_vls_print_positions_used (const struct bu_vls *vp)
void bu_vls_detab (struct bu_vls *vp)
void bu_vls_prepend (struct bu_vls *vp, char *str)

Variables

const char bu_vls_message [] = "bu_vls_str"
const char bu_strdup_message []


Detailed Description

The variable length string package.

The variable length string package.

Assumption: libc-provided sprintf() function is safe to use in parallel, on parallel systems.

Author:
Michael John Muuss
Source -
SECAD/VLD Computing Consortium, Bldg 394
The U. S. Army Ballistic Research Laboratory
Aberdeen Proving Ground, Maryland 21005-5066

Definition in file vls.c.


Generated on Mon Sep 18 01:25:04 2006 for BRL-CAD by  doxygen 1.4.6