man3cf/CreateCONFIG_TBL

Table of Contents

Name

CreateCONFIG_TBL - Create a configuration file

Description

CreateCONFIG_TBL creates a configuration file and copies the name/value pairs from the CONFIG_TBL array to the file.

This function is part of libconfig.

Syntax

int CreateCONFIG_TBL(
   CONFIG_TBL CFTpnt[],

   int Size,

   char *FN

   );

Arguments

CFTpnt

pointer to the CONFIG_TBL array.

Size

size of the CONFIG_TBL array.

Fn

pathname of destination file

Return Value

0 is returned on success. -1 is returned on all failures and a message is printed to stderr.

See Also

BldCONFIG_TBLfn(3cf) , ClearCONFIG_TBL(3cf) , CopyCONFIG_TBL(3cf) , FindCONFIG_TBL(3cf) , LoadCONFIG_TBL(3cf) , PrintCONFIG_TBL(3cf) , SaveCONFIG_TBL(3cf) , libconfigtbl(3cf)

Manual page revision

$Id: CreateCONFIG_TBL.3,v 1.1 2002/04/07 18:46:04 kitchen Exp $


Table of Contents