Annotation of coherent/b/lib/libc/gen/__assert.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * libc/gen/__assertfail.c
        !             3:  * Assertion failure.
        !             4:  * Implementation-defined behavior:
        !             5:  *     message format "<file>: <line>: assert(<msg>) failed.\n".
        !             6:  */
        !             7: 
        !             8: #include <stdio.h>
        !             9: #include <stdlib.h>
        !            10: 
        !            11: void
        !            12: __assertfail(msg, file, line) char *msg; char *file; int line;
        !            13: {
        !            14:        fprintf(stderr, "%s: %d: assert(%s) failed.\n", file, line, msg);
        !            15:        abort();
        !            16: }
        !            17: 
        !            18: /* end of libc/gen/__assertfail.c */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.