home | help
AFCLOSE(3)			    Amberfish			      AFCLOSE(3)

NAME
     afclose - close a database

SYNOPSIS
     #include af.h

     int afclose(const Afclose *r, Afclose_r *rr);

DESCRIPTION
     The afclose function closes a database, writing out any buffered data.

     The  argument  r specifies a set of options defined by the following struc-
     ture:

     typedef struct {
	  Uint2 dbid;
     } Afclose;

     The dbid option specifies the descriptor of the database to be closed.

RETURN VALUE
     This function returns 0 if it exited normally.  If an  error  occurred,  it
     returns -1 and aferrno is set.

     The structure pointed to by rr is not used.

ERRORS
     This function returns only "core" errors.

								      AFCLOSE(3)

home | help