glob_t not GLOB_t. pointed out by <lm@rmit.edu.au>
This commit is contained in:
parent
686d4f2c93
commit
2d1eff419c
|
@ -32,7 +32,7 @@
|
|||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)glob.3 8.1 (Berkeley) 6/9/93
|
||||
.\" $Id: glob.3,v 1.7 1993/12/03 23:02:05 cgd Exp $
|
||||
.\" $Id: glob.3,v 1.8 1994/01/06 13:24:09 deraadt Exp $
|
||||
.\"
|
||||
.Dd June 9, 1993
|
||||
.Dt GLOB 3
|
||||
|
@ -413,7 +413,7 @@ A rough equivalent of
|
|||
can be obtained with the
|
||||
following code:
|
||||
.Bd -literal -offset indent
|
||||
GLOB_t g;
|
||||
glob_t g;
|
||||
|
||||
g.gl_offs = 2;
|
||||
glob("*.c", GLOB_DOOFFS, NULL, &g);
|
||||
|
|
Loading…
Reference in New Issue