Mobile API Reference  MicroStrategy 2019
glob.h File Reference

Go to the source code of this file.

Classes

struct  glob_t
 

Macros

#define GLOB_APPEND   0x0001 /* Append to output from previous call. */
 
#define GLOB_DOOFFS   0x0002 /* Use gl_offs. */
 
#define GLOB_ERR   0x0004 /* Return on error. */
 
#define GLOB_MARK   0x0008 /* Append / to matching directories. */
 
#define GLOB_NOCHECK   0x0010 /* Return pattern itself if nothing matches. */
 
#define GLOB_NOSORT   0x0020 /* Don't sort. */
 
#define GLOB_NOSPACE   (-1) /* Malloc call failed. */
 
#define GLOB_ABORTED   (-2) /* Unignored error. */
 
#define GLOB_NOMATCH   (-3) /* No match and GLOB_NOCHECK was not set. */
 
#define GLOB_NOSYS   (-4) /* Obsolete: source comptability only. */
 
#define GLOB_ALTDIRFUNC   0x0040 /* Use alternately specified directory funcs. */
 
#define GLOB_BRACE   0x0080 /* Expand braces ala csh. */
 
#define GLOB_MAGCHAR   0x0100 /* Pattern had globbing characters. */
 
#define GLOB_NOMAGIC   0x0200 /* GLOB_NOCHECK without magic chars (csh). */
 
#define GLOB_QUOTE   0x0400 /* Quote special chars with \. */
 
#define GLOB_TILDE   0x0800 /* Expand tilde names from the passwd file. */
 
#define GLOB_INSENSITIVE   0x1000 /* Don't worry about upper versus lower */
 
#define GLOB_ABEND   GLOB_ABORTED
 

Functions

__BEGIN_DECLS int glob (const char *, int, int(*)(const char *, int), glob_t *)
 
void globfree (glob_t *)
 

Macro Definition Documentation

◆ GLOB_ABEND

#define GLOB_ABEND   GLOB_ABORTED

◆ GLOB_ABORTED

#define GLOB_ABORTED   (-2) /* Unignored error. */

◆ GLOB_ALTDIRFUNC

#define GLOB_ALTDIRFUNC   0x0040 /* Use alternately specified directory funcs. */

◆ GLOB_APPEND

#define GLOB_APPEND   0x0001 /* Append to output from previous call. */

◆ GLOB_BRACE

#define GLOB_BRACE   0x0080 /* Expand braces ala csh. */

◆ GLOB_DOOFFS

#define GLOB_DOOFFS   0x0002 /* Use gl_offs. */

◆ GLOB_ERR

#define GLOB_ERR   0x0004 /* Return on error. */

◆ GLOB_INSENSITIVE

#define GLOB_INSENSITIVE   0x1000 /* Don't worry about upper versus lower */

◆ GLOB_MAGCHAR

#define GLOB_MAGCHAR   0x0100 /* Pattern had globbing characters. */

◆ GLOB_MARK

#define GLOB_MARK   0x0008 /* Append / to matching directories. */

◆ GLOB_NOCHECK

#define GLOB_NOCHECK   0x0010 /* Return pattern itself if nothing matches. */

◆ GLOB_NOMAGIC

#define GLOB_NOMAGIC   0x0200 /* GLOB_NOCHECK without magic chars (csh). */

◆ GLOB_NOMATCH

#define GLOB_NOMATCH   (-3) /* No match and GLOB_NOCHECK was not set. */

◆ GLOB_NOSORT

#define GLOB_NOSORT   0x0020 /* Don't sort. */

◆ GLOB_NOSPACE

#define GLOB_NOSPACE   (-1) /* Malloc call failed. */

◆ GLOB_NOSYS

#define GLOB_NOSYS   (-4) /* Obsolete: source comptability only. */

◆ GLOB_QUOTE

#define GLOB_QUOTE   0x0400 /* Quote special chars with \. */

◆ GLOB_TILDE

#define GLOB_TILDE   0x0800 /* Expand tilde names from the passwd file. */

Function Documentation

◆ glob()

__BEGIN_DECLS int glob ( const char *  ,
int  ,
int(*)(const char *, int)  ,
glob_t  
)

◆ globfree()

void globfree ( glob_t )