Présentation
Documentation
L'équipe
Sérialisation
 
Programmes
Objets
Libs Utilitaires
Libs Internes
   
 
Editeur
Syntaxes
Windows
Versions
   

SCR/AL1 - TOME III. Les librairies utilitaires

5. Le groupe s_strs

5.24 SCR_free_tbl (file s_staddp.c:188)

Syntax

int SCR_free_tbl(tbl)
U_ch **tbl;

Description

Libère l'espace alloué pour un tableau généré à l'aide de SCR_add_ptr(), SCR_vtom(), SCR_vtoms() et SCR_text().

Exemple

    PrintList(string)
unsigned char *string;
{
int i;
unsigned char *tbl;

tbl = SCR_vtom(string, ',');
for(i = 0 ; tbl[i] ; i++)
printf("\"%s\"\n", tbl[i]);
SCR_free_tbl(tbl);
}

Voir également

SCR_vtoms() SCR_vtom(), SCR_text(), SCR_add_ptr(), SCR_tbl_size()

Copyright © 1998-2015 Jean-Marc Paul and Bernard PAUL - Envoyez vos remarques ou commentaires à bernard@xon.be