newlib scanf 函数一直卡住
change this file
libgloss/libnosys/_exit.c
#include
#include <_ansi.h>
#include <_syslist.h>
#include
#include
void
_exit (int rc)
{
syscall(SYS_exit, rc);
/* Default stub just causes a divide by 0 exception. */
// int x = rc / INT_MAX;
// x = 4 / x;
// abort();
/* Convince GCC that this function never returns. */
//for (;;)
共有 0 条评论