.TH GDI_INIT 3 "8/19/93 (v16.3)"
.ig
% ptroff -man gdi_init.3
SccsID=@(#)gdi_init.3	16.3 8/19/93
..
.SH NAME
.PP
gdi_init \- initialize the GDI
.SH SYNOPSIS
.PP
.nf
.ta 8 16
\fB#include "libgdi.h"\fP
.sp
.B int
\fBgdi_init (appname)\fP
\fBchar	*appname;\fP	/* (i) application name  */
.fi
.SH DESCRIPTION
.PP
gdi_init() initializes the GDI.
.SH ARGUMENTS
.PP
.TP 12
.B appname
Application name (actual name of the executable).
.SH SAMPLE CODE
.PP
See any of the sample programs in libsrc/libgendb/test.
.SH DIAGNOSTICS
.PP
gdi_init() returns one of the following status values.
.TP 12
.B GDI_SUCCESS
GDI successfully initialized.
.TP 12
.B GDI_FAILURE
Failure in initialization, possibly the application name was invalid.
.SH FILE
.PP
gdi_link.c
.SH AUTHOR
.PP
B. MacRitchie, SAIC Geophysical Systems Operation, Open Systems Division
