Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

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
       structure:

       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)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=afclose&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help