summaryrefslogtreecommitdiff
path: root/include/glob.h
Commit message (Collapse)AuthorAgeFilesLines
* include: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326024
* - Add restrict keyword to glob(3)Eitan Adler2011-12-201-1/+2
| | | | | | | | | | PR: kern/161958 Submitted by: Henning Petersen <henning.petersen@t-online.de> Approved by: jilles MFC after: 3 days Notes: svn path=/head/; revision=228754
* Remove the Berkeley clause 3's.Warner Losh2010-02-161-5/+1
| | | | | | | Add a few $FreeBSD$ Notes: svn path=/head/; revision=203964
* Add size_t declarationAndrey A. Chernov2006-05-221-0/+6
| | | | Notes: svn path=/head/; revision=158811
* Make gl_offs size_t too, as required by POSIXAndrey A. Chernov2006-05-221-2/+2
| | | | | | | | Make non-standard gl_matchc in the similar fashion as gl_pathc size_t too, like done in NetBSD & others Notes: svn path=/head/; revision=158810
* Use size_t for gl_pathc as asked in the libc's Makefile:Andrey A. Chernov2006-05-221-1/+1
| | | | | | | | | | # If you bump SHLIB_MAJOR, see standards/55112. PR: 55112 Reviewed by: ume Notes: svn path=/head/; revision=158808
* Update glob(3) to add all the POSIX required options, specifically:Mike Heffner2002-07-171-4/+14
| | | | | | | | | | | | | - add GLOB_NOMATCH return value and use it when we don't get a match - rename GLOB_ABEND to GLOB_ABORTED and use it instead of returning 1 in some places - add GLOB_NOESCAPE flag and retire GLOB_QUOTE to compatibility section Suggestions/advice on correct usage of POSIX defines: wollman Notes: svn path=/head/; revision=100217
* Breath deep and take __P out of the system include files.Warner Losh2002-03-231-8/+8
| | | | | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure. Notes: svn path=/head/; revision=93032
* Rename the GLOB_MAXPATH flag of glob(3) to GLOB_LIMIT to be compatibleMike Heffner2001-07-291-2/+4
| | | | | | | | | | | | | with NetBSD and OpenBSD. glob(3) will now return GLOB_NOSPACE with errno set to 0 instead of GLOB_LIMIT when we match more than `gl_matchc' patterns. GLOB_MAXPATH has been left as an alias of GLOB_LIMIT to maintain backwards compatibility. Reviewed by: sheldonh, assar Obtained from: NetBSD/OpenBSD Notes: svn path=/head/; revision=80525
* Introduce the GLOB_MAXPATH flag, which allows the user to limit theJonathan Lemon2001-03-191-0/+3
| | | | | | | | | | number of paths which glob(3) will return. Remove the hardcoded limit from the last commit, which restores the previous unbounded behavior. Document the new flag in the manual page. Notes: svn path=/head/; revision=74469
* Removed _POSIX_SOURCE ifdefs. This is not a POSIX.1 header.Bruce Evans1998-02-251-2/+0
| | | | Notes: svn path=/head/; revision=33806
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
| | | | Notes: svn path=/head/; revision=8858
* BSD 4.4 Lite Include SourcesRodney W. Grimes1994-05-241-0/+90
Notes: svn path=/head/; revision=1539