URL: http://www.firstbasesoftware.com/man/man3/pad.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[ Index of Contents] [ FirstBase RDBMS Overview]


NAME

pad - pad a string

SYNOPSIS

#include <firstbase/fb.h>

char *fb_pad(to, from, size)
char *to, *from;
int size;

DESCRIPTION

Fb_pad is a simple routine in the FirstBase library used to left justify and/or truncate a string according to a given size. Formally, the first size characters of string from are left justified in a blank padded field. The resultant to string is guaranteed to be exactly size characters long.

Fb_pad returns the argument to.

SEE ALSO

makess(3), rjustify(3), getxrec(3), trim(3).


URL: http://www.firstbasesoftware.com/man/man3/pad.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[ Index of Contents] [ FirstBase RDBMS Overview]