Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1527 → Rev 1528

/uspace/trunk/libc/include/err.h
29,7 → 29,6
#ifndef _libc__ERR_H_
#define _libc__ERR_H_
 
extern void errx (int __status, __const char *__format, ...)
__attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
#define errx(status,fmt,...) { printf((fmt),##__VA_ARGS__);_exit(status);}
 
#endif
/uspace/trunk/libc/include/io/stream.h
26,6 → 26,9
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
#ifndef __libc_STREAM_H_
#define __libc_STREAM_H_
 
#include <libarch/types.h>
 
#define EMFILE -17
38,3 → 41,5
 
fd_t open(const char *fname, int flags);
int get_fd_phone(int fd);
 
#endif