Changeset 4efeab5 in mainline for boot/generic/src/str.c


Ignore:
Timestamp:
2012-07-29T20:32:05Z (12 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
99047a72
Parents:
13d5639
Message:

Update documentation for str_cmp and str_lcmp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/generic/src/str.c

    r13d5639 r4efeab5  
    354354 *
    355355 * Do a char-by-char comparison of two NULL-terminated strings.
    356  * The strings are considered equal iff they consist of the same
    357  * characters on the minimum of their lengths.
     356 * The strings are considered equal iff their length is equal
     357 * and both strings consist of the same sequence of characters.
     358 *
     359 * A string is smaller than another string iff it is shorter or
     360 * has a character with lower value at the first position where
     361 * the strings differ.
    358362 *
    359363 * @param s1 First string to compare.
Note: See TracChangeset for help on using the changeset viewer.