URL: http://www.firstbasesoftware.com/man/man3/rjustify.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[
Index of Contents] [
FirstBase RDBMS Overview]
NAME
rjustify - right justify a string according to a field type
SYNOPSIS
#include <firstbase/fb.h>
char *fb_rjustify(to, from, size, type)
char *to, *from, type;
int size;
DESCRIPTION
Fb_rjustify is a simple routine in the FirstBase library used to
right justify and/or truncate a string in a field of blanks according to a
given size. Formally,
the first size characters of string from are right justified in
a blank padded field. The resultant to string is guaranteed to be
exactly size characters long.
The type is used to detect special situations surrounding the
FirstBase FB_DOLLARS data type. This type value is the same as
defined in each field descriptor.
Fb_rjustify returns the argument to.
SEE ALSO
makess(3),
pad(3),
getxrec(3).
URL: http://www.firstbasesoftware.com/man/man3/rjustify.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[
Index of Contents] [
FirstBase RDBMS Overview]