HPlogo MPE/iX Developer's Kit Reference Manual Volume I: HP 3000 MPE/iX Computer Systems > Chapter 4  POSIX/iX Library Function Descriptions

regfree

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Free a compiled regular expression.

Syntax

   #include <regex.h>

   void regfree(regex_t *reg);

Parameters

reg

must point to an object where regcomp() stored a compiled regular expression.

Description

regfree() frees any memory that was allocated by regcomp() when it compiled the regular expression associated with reg.

NOTE: The regex_t object itself is not freed.

See Also

regcomp(), regexec(), regexp(3)

Feedback to webmaster