BRL-CAD
columns.c File Reference
#include "common.h"
#include <stdlib.h>
#include <string.h>
#include "vmath.h"
#include "raytrace.h"
#include "db.h"
Include dependency graph for columns.c:

Go to the source code of this file.

Macros

#define TERMINAL_WIDTH   80 /* XXX */
 
#define COLUMNS   ((TERMINAL_WIDTH + NAMESIZE - 1) / NAMESIZE)
 

Functions

void vls_col_item (struct bu_vls *str, const char *cp)
 
void vls_col_eol (struct bu_vls *str)
 
int cmpdirname (const void *a, const void *b)
 

Detailed Description

A set of routines for printing columns of data.

Definition in file columns.c.

Macro Definition Documentation

#define TERMINAL_WIDTH   80 /* XXX */

Definition at line 41 of file columns.c.

Referenced by vls_col_item().

#define COLUMNS   ((TERMINAL_WIDTH + NAMESIZE - 1) / NAMESIZE)

Definition at line 42 of file columns.c.

Referenced by vls_col_item().

Function Documentation

void vls_col_item ( struct bu_vls str,
const char *  cp 
)

Definition at line 45 of file columns.c.

References bu_vls_putc(), COLUMNS, and TERMINAL_WIDTH.

Referenced by ged_joint2().

Here is the call graph for this function:

void vls_col_eol ( struct bu_vls str)

Definition at line 73 of file columns.c.

References bu_vls_putc().

Referenced by ged_joint2().

Here is the call graph for this function:

int cmpdirname ( const void *  a,
const void *  b 
)

Definition at line 87 of file columns.c.

References bu_strcmp().

Referenced by _ged_vls_col_pr4v().

Here is the call graph for this function: