This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>From: Ted Wisniewski <address@hidden> >Organization: . >Keywords: 199912012046.NAA08614 Ted, Thanks for the quick reply. >I found 2 things that may be what you are looking for. If need be, I can >send along the whole man page/glob.h if you need more context information. I think that you sent along just what I was looking for. FreeBSD uses GLOB_ABEND instead GLOB_ABORTED. >This lifted directly from the section 3 man page on glob: > > The argument flags is used to modify the behavior of glob(). The value > of flags is the bitwise inclusive OR of any of the following values de- > fined in glob.h: > > GLOB_ERR Causes glob() to return when it encounters a directory > that it cannot open or read. Ordinarily, glob() contin- > ues to find matches. > > ... > >and > > ... > > If glob() terminates due to an error, it sets errno and returns one of > the following non-zero constants, which are defined in the include file > <glob.h>: > > GLOB_NOSPACE An attempt to allocate memory failed. > > GLOB_ABEND The scan was stopped because an error was encountered and > either GLOB_ERR was set or (*errfunc)() returned non-zero. > >-- >| Ted Wisniewski INET: address@hidden | >| Computer Services address@hidden | >| Plymouth State College address@hidden | >| Plymouth NH, 03264 HTTP: http://oz.plymouth.edu/~ted/ | Tom Yoksas