Changeset 1b20da0 in mainline for uspace/lib/posix/src/fnmatch.c


Ignore:
Timestamp:
2018-02-28T17:52:03Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/src/fnmatch.c

    rdf6ded8 r1b20da0  
    3737 * of adding POSIX-like locale support to the system in the future. Functions
    3838 * that are only necessary for locale support currently simply use single
    39  * characters for "collation elements". 
     39 * characters for "collation elements".
    4040 * When (or if) locales are properly implemented, extending this implementation
    4141 * will be fairly straightforward.
     
    194194/**
    195195 * Compare function for binary search in the _char_classes array.
    196  * 
     196 *
    197197 * @param key Key of the searched element.
    198198 * @param elem Element of _char_classes array.
     
    207207/**
    208208 * Returns whether the given character belongs to the specified character class.
    209  * 
     209 *
    210210 * @param cname Name of the character class.
    211211 * @param c Character.
     
    231231 * Tries to parse an initial part of the pattern as a character class pattern,
    232232 * and if successful, matches the beginning of the given string against the class.
    233  * 
     233 *
    234234 * @param pattern Pointer to the pattern to match. Must begin with a class
    235235 *    specifier and is repositioned to the first character after the specifier
     
    257257 * Reads the next collating element in the pattern, taking into account
    258258 * locale (if supported) and flags (see fnmatch()).
    259  * 
     259 *
    260260 * @param pattern Pattern.
    261261 * @param flags Flags given to fnmatch().
     
    309309 * Matches the beginning of the given string against a bracket expression
    310310 * the pattern begins with.
    311  * 
     311 *
    312312 * @param pattern Pointer to the beginning of a bracket expression in a pattern.
    313313 *     On success, the pointer is moved to the first character after the
     
    405405 * Matches a portion of the pattern containing no asterisks (*) against
    406406 * the given string.
    407  * 
     407 *
    408408 * @param pattern Pointer to the unmatched portion of the pattern.
    409409 *     On success, the pointer is moved to the first asterisk, or to the
     
    508508/**
    509509 * Match string against a pattern.
    510  * 
     510 *
    511511 * @param pattern Pattern.
    512512 * @param string String to match.
     
    571571/**
    572572 * Transform the entire string to lowercase.
    573  * 
     573 *
    574574 * @param s Input string.
    575575 * @return Newly allocated copy of the input string with all uppercase
Note: See TracChangeset for help on using the changeset viewer.