glob.3 (edf0e5b3f896da8bf8b1fd0b923401d0c0141aa4) glob.3 (7bdf80e5714a8b59a2bfda90f367be4612df033e)
1.\" Copyright (c) 1989, 1991, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Guido van Rossum.
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 411 unchanged lines hidden (view full) ---

420should not be used by applications striving for strict
421.Tn POSIX
422conformance.
423.Sh HISTORY
424The
425.Fn glob
426and
427.Fn globfree
1.\" Copyright (c) 1989, 1991, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Guido van Rossum.
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 411 unchanged lines hidden (view full) ---

420should not be used by applications striving for strict
421.Tn POSIX
422conformance.
423.Sh HISTORY
424The
425.Fn glob
426and
427.Fn globfree
428functions first appeared in 4.4BSD.
428functions first appeared in
429.Bx 4.4 .
429.Sh BUGS
430Patterns longer than
431.Dv MAXPATHLEN
432may cause unchecked errors.
433.Pp
434The
435.Fn glob
436argument
437may fail and set errno for any of the errors specified for the
438library routines
439.Xr stat 2 ,
440.Xr closedir 3 ,
441.Xr opendir 3 ,
442.Xr readdir 3 ,
443.Xr malloc 3 ,
444and
445.Xr free 3 .
430.Sh BUGS
431Patterns longer than
432.Dv MAXPATHLEN
433may cause unchecked errors.
434.Pp
435The
436.Fn glob
437argument
438may fail and set errno for any of the errors specified for the
439library routines
440.Xr stat 2 ,
441.Xr closedir 3 ,
442.Xr opendir 3 ,
443.Xr readdir 3 ,
444.Xr malloc 3 ,
445and
446.Xr free 3 .