001f5a6de6
Submitted by: kano@na.rim.or.jp Approved by: kuriyama (mentor/implicitly)
474 lines
11 KiB
Groff
474 lines
11 KiB
Groff
.\" Copyright (c) 1989, 1991, 1993, 1994
|
||
.\" The Regents of the University of California. All rights reserved.
|
||
.\"
|
||
.\" This code is derived from software contributed to Berkeley by
|
||
.\" Guido van Rossum.
|
||
.\" Redistribution and use in source and binary forms, with or without
|
||
.\" modification, are permitted provided that the following conditions
|
||
.\" are met:
|
||
.\" 1. Redistributions of source code must retain the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer.
|
||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer in the
|
||
.\" documentation and/or other materials provided with the distribution.
|
||
.\" 3. All advertising materials mentioning features or use of this software
|
||
.\" must display the following acknowledgement:
|
||
.\" This product includes software developed by the University of
|
||
.\" California, Berkeley and its contributors.
|
||
.\" 4. Neither the name of the University nor the names of its contributors
|
||
.\" may be used to endorse or promote products derived from this software
|
||
.\" without specific prior written permission.
|
||
.\"
|
||
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
||
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||
.\" SUCH DAMAGE.
|
||
.\"
|
||
.\" @(#)glob.3 8.3 (Berkeley) 4/16/94
|
||
.\" %FreeBSD: src/lib/libc/gen/glob.3,v 1.7.2.9 2001/12/14 18:33:51 ru Exp %
|
||
.\"
|
||
.\" $FreeBSD$
|
||
.Dd April 16, 1994
|
||
.Dt GLOB 3
|
||
.Os
|
||
.Sh ̾<EFBFBD><EFBFBD>
|
||
.Nm glob ,
|
||
.Nm globfree
|
||
.Sh <EFBFBD>饤<EFBFBD>֥<EFBFBD><EFBFBD><EFBFBD>
|
||
.Lb libc
|
||
.Nd <EFBFBD>ѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŭ<EFBFBD>礹<EFBFBD><EFBFBD><EFBFBD>ѥ<EFBFBD>̾<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fd #include <glob.h>
|
||
.Ft int
|
||
.Fn glob "const char *pattern" "int flags" "int (*errfunc)(const char *, int)" "glob_t *pglob"
|
||
.Ft void
|
||
.Fn globfree "glob_t *pglob"
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fn glob
|
||
<EFBFBD>ؿ<EFBFBD><EFBFBD>ϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤ<EFBFBD><EFBFBD>äƻ<EFBFBD><EFBFBD>Ѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̾<EFBFBD>ѥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ρ<EFBFBD>Ŭ<EFBFBD>絬§<EFBFBD><EFBFBD>
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѥ<EFBFBD>̾<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͥ졼<EFBFBD><EFBFBD><EFBFBD>Ǥ<EFBFBD><EFBFBD><EFBFBD>
|
||
.Pp
|
||
<EFBFBD><EFBFBD><EFBFBD>롼<EFBFBD>ɥե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Pa glob.h
|
||
<EFBFBD>ϡ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʤ<EFBFBD><EFBFBD>Ȥ⼡<EFBFBD>˼<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɤ<EFBFBD><EFBFBD>ޤޤ<EFBFBD><EFBFBD><EFBFBD>
|
||
<EFBFBD><EFBFBD>¤<EFBFBD>Υ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fa glob_t
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD>
|
||
.Bd -literal
|
||
typedef struct {
|
||
int gl_pathc; /* <20><><EFBFBD><EFBFBD><EFBFBD>ޤǤι<C7A4><CEB9>ץѥ<D7A5><D1A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
||
int gl_matchc; /* <20>ѥ<EFBFBD><D1A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŭ<EFBFBD>礹<EFBFBD><E7A4B9><EFBFBD>ѥ<EFBFBD><D1A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
||
int gl_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ơ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
<EFBFBD><EFBFBD><EFBFBD>Ѥ<EFBFBD><EFBFBD>롢<EFBFBD><EFBFBD><EFBFBD><EFBFBD> glob <20>ؿ<EFBFBD><D8BF>ǽ<EFBFBD><C7BD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD>
|
||
.Bd -literal
|
||
void *(*gl_opendir)(const char * name);
|
||
struct dirent *(*gl_readdir)(void *);
|
||
void (*gl_closedir)(void *);
|
||
int (*gl_lstat)(const char *name, struct stat *st);
|
||
int (*gl_stat)(const char *name, struct stat *st);
|
||
.Ed
|
||
.Pp
|
||
<EFBFBD>ơ<EFBFBD><EFBFBD>פ<EFBFBD><EFBFBD><EFBFBD>¸<EFBFBD><EFBFBD><EFBFBD>줿<EFBFBD>ǥ<EFBFBD><EFBFBD>쥯<EFBFBD>ȥ꤫<EFBFBD>顢
|
||
.Xr restore 8
|
||
<EFBFBD>Τ褦<EFBFBD>ʥץ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˤ<EFBFBD><EFBFBD>ä<EFBFBD>
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>åӥ<EFBFBD><EFBFBD><EFBFBD> (<28>ե<EFBFBD><D5A5><EFBFBD><EFBFBD><EFBFBD>̾Ÿ<CCBE><C5B8>) <20>Ǥ<EFBFBD><C7A4><EFBFBD><EFBFBD>褦<EFBFBD>ˡ<EFBFBD>
|
||
<EFBFBD><EFBFBD><EFBFBD>γ<EFBFBD>ĥ<EFBFBD><EFBFBD><EFBFBD>Ѱդ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBF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||
.Bd -literal -offset indent
|
||
glob_t g;
|
||
|
||
g.gl_offs = 2;
|
||
glob("*.c", GLOB_DOOFFS, NULL, &g);
|
||
glob("*.h", GLOB_DOOFFS | GLOB_APPEND, NULL, &g);
|
||
g.gl_pathv[0] = "ls";
|
||
g.gl_pathv[1] = "-l";
|
||
execvp("ls", g.gl_pathv);
|
||
.Ed
|
||
.Sh <EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Xr sh 1 ,
|
||
.Xr fnmatch 3 ,
|
||
.Xr regexp 3
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fn glob
|
||
<EFBFBD>ؿ<EFBFBD><EFBFBD>ˤϼ<EFBFBD><EFBFBD>˼<EFBFBD><EFBFBD><EFBFBD><EFBFBD>㳰<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ơ<EFBFBD>
|
||
.St -p1003.2
|
||
<EFBFBD>Ȥθߴ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƥ<EFBFBD><EFBFBD>ޤ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>㳰<EFBFBD>ϥե饰
|
||
.Dv GLOB_ALTDIRFUNC ,
|
||
.Dv GLOB_BRACE ,
|
||
.Dv GLOB_LIMIT ,
|
||
.Dv GLOB_MAGCHAR ,
|
||
.Dv GLOB_NOMAGIC ,
|
||
.Dv GLOB_QUOTE ,
|
||
.Dv GLOB_TILDE
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˥ե<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fa gl_matchc
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fa gl_flags
|
||
<EFBFBD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