mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #18558 from benpicco/_sbrk_r-comment
sys/syscalls: drop outdated comment on _sbrk_r()
This commit is contained in:
commit
d43318f90d
@ -175,15 +175,12 @@ __attribute__((used)) void _exit(int n)
|
||||
{
|
||||
LOG_INFO("#! exit %i: powering off\n", n);
|
||||
pm_off();
|
||||
while(1);
|
||||
while (1) {}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Allocate memory from the heap.
|
||||
*
|
||||
* The current heap implementation is very rudimentary, it is only able to allocate
|
||||
* memory. But it does not have any means to free memory again
|
||||
*
|
||||
* @return pointer to the newly allocated memory on success
|
||||
* @return pointer set to address `-1` on failure
|
||||
*/
|
||||
@ -606,7 +603,7 @@ int _isatty_r(struct _reent *r, int fd)
|
||||
{
|
||||
r->_errno = 0;
|
||||
|
||||
if(fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) {
|
||||
if (fd == STDIN_FILENO || fd == STDOUT_FILENO || fd == STDERR_FILENO) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user