提交 46b5eb37 编写于 作者: mysterywolf's avatar mysterywolf

remove _getpid_r()

上级 19ef1120
...@@ -79,12 +79,6 @@ _fstat_r(struct _reent *ptr, int fd, struct stat *pstat) ...@@ -79,12 +79,6 @@ _fstat_r(struct _reent *ptr, int fd, struct stat *pstat)
return -1; return -1;
} }
int
_getpid_r(struct _reent *ptr)
{
return 0;
}
int int
_isatty_r(struct _reent *ptr, int fd) _isatty_r(struct _reent *ptr, int fd)
{ {
...@@ -335,7 +329,10 @@ int flock(int fd, int operation) ...@@ -335,7 +329,10 @@ int flock(int fd, int operation)
} }
/* /*
These functions will be implemented and replaced by the 'common/time.c' file These functions are implemented and replaced by the 'common/time.c' file
int _gettimeofday_r(struct _reent *ptr, struct timeval *__tp, void *__tzp); int _gettimeofday_r(struct _reent *ptr, struct timeval *__tp, void *__tzp);
_CLOCK_T_ _times_r(struct _reent *ptr, struct tms *ptms); _CLOCK_T_ _times_r(struct _reent *ptr, struct tms *ptms);
These functions are implemented and replaced by the "common/unistd.c" file
int _getpid_r(struct _reent *ptr);
*/ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册