s/_thread_sys_write/__sys_write/
Submitted by: Mike Heffner <mheffner@vt.edu>
This commit is contained in:
parent
e5d262f231
commit
e76838d160
@ -114,12 +114,12 @@
|
||||
#define stdout_debug(args...) do { \
|
||||
char buf[128]; \
|
||||
snprintf(buf, sizeof(buf), ##args); \
|
||||
_thread_sys_write(1, buf, strlen(buf)); \
|
||||
__sys_write(1, buf, strlen(buf)); \
|
||||
} while (0)
|
||||
#define stderr_debug(args...) do { \
|
||||
char buf[128]; \
|
||||
snprintf(buf, sizeof(buf), ##args); \
|
||||
_thread_sys_write(2, buf, strlen(buf)); \
|
||||
__sys_write(2, buf, strlen(buf)); \
|
||||
} while (0)
|
||||
|
||||
|
||||
|
@ -114,12 +114,12 @@
|
||||
#define stdout_debug(args...) do { \
|
||||
char buf[128]; \
|
||||
snprintf(buf, sizeof(buf), ##args); \
|
||||
_thread_sys_write(1, buf, strlen(buf)); \
|
||||
__sys_write(1, buf, strlen(buf)); \
|
||||
} while (0)
|
||||
#define stderr_debug(args...) do { \
|
||||
char buf[128]; \
|
||||
snprintf(buf, sizeof(buf), ##args); \
|
||||
_thread_sys_write(2, buf, strlen(buf)); \
|
||||
__sys_write(2, buf, strlen(buf)); \
|
||||
} while (0)
|
||||
|
||||
|
||||
|
@ -114,12 +114,12 @@
|
||||
#define stdout_debug(args...) do { \
|
||||
char buf[128]; \
|
||||
snprintf(buf, sizeof(buf), ##args); \
|
||||
_thread_sys_write(1, buf, strlen(buf)); \
|
||||
__sys_write(1, buf, strlen(buf)); \
|
||||
} while (0)
|
||||
#define stderr_debug(args...) do { \
|
||||
char buf[128]; \
|
||||
snprintf(buf, sizeof(buf), ##args); \
|
||||
_thread_sys_write(2, buf, strlen(buf)); \
|
||||
__sys_write(2, buf, strlen(buf)); \
|
||||
} while (0)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user