Changeset d34657e in mainline for src/lib/func.c


Ignore:
Timestamp:
2005-05-11T17:00:13Z (20 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
27dc170
Parents:
724b58a
Message:

doxygen-style comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lib/func.c

    r724b58a rd34657e  
    3333#include <arch.h>
    3434
    35 __u32   haltstate = 0;
     35__u32   haltstate = 0; /**< Halt flag */
    3636
     37
     38/** Halt wrapper
     39 *
     40 * Set halt flag and halt the cpu.
     41 *
     42 */
    3743void halt(void)
    3844{
     
    4450
    4551
    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 *
    4963 */
    5064int strcmp(char *src, char *dst)
Note: See TracChangeset for help on using the changeset viewer.