Changeset d6cc453 in mainline for libc


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.

Location:
libc/include
Files:
2 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
  • libc/include/io/stream.h

    re87e18f rd6cc453  
    2727 */
    2828
     29#ifndef __libc_STREAM_H_
     30#define __libc_STREAM_H_
     31
    2932#include <libarch/types.h>
    3033
     
    3942fd_t open(const char *fname, int flags);
    4043int get_fd_phone(int fd);
     44
     45#endif
Note: See TracChangeset for help on using the changeset viewer.