Changeset d34657e in mainline for src/lib/func.c
- Timestamp:
- 2005-05-11T17:00:13Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 27dc170
- Parents:
- 724b58a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lib/func.c
r724b58a rd34657e 33 33 #include <arch.h> 34 34 35 __u32 haltstate = 0; 35 __u32 haltstate = 0; /**< Halt flag */ 36 36 37 38 /** Halt wrapper 39 * 40 * Set halt flag and halt the cpu. 41 * 42 */ 37 43 void halt(void) 38 44 { … … 44 50 45 51 46 /* 47 * returns 0 if src == dst 48 * otherwise returns 1 52 /** Compare two NULL terminated strings 53 * 54 * Do a char-by-char comparment of two NULL terminated strings. 55 * The strings are considered equal iff they have the same 56 * length and consist of the same characters. 57 * 58 * @param src First string to compare. 59 * @param dst Second string to compare. 60 * 61 * @return 0 if the strings are equal, 1 otherwise. 62 * 49 63 */ 50 64 int strcmp(char *src, char *dst)
Note:
See TracChangeset
for help on using the changeset viewer.