Changeset d6cc453 in mainline for libc/include/err.h


Ignore:
Timestamp:
2006-06-02T19:22:08Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
53daee3
Parents:
e87e18f
Message:

Made tetris compile and somewhat run.
Slightly better console.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/include/err.h

    re87e18f rd6cc453  
    3030#define _libc__ERR_H_
    3131
    32 extern void errx (int __status, __const char *__format, ...)
    33         __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
     32#define errx(status,fmt,...) { printf((fmt),##__VA_ARGS__);_exit(status);}
    3433
    3534#endif
Note: See TracChangeset for help on using the changeset viewer.