Похожие чаты

So, I've a simple operating system and now want to

implement empty C systemcalls functions like for instance _open, _close, etc. So, now there are also reentrant versions and as far as I see newlib in my gnu toolchain always seem to call the reentrant version and thia one calls the non reentrant version. Is the reentrant version always implemented by standard C libraries? Can I somehow change the behavior so that a libc variant is used that does not include the reentrant versions? And is there a way to omit reentrant calls and dirsctly use the non reentrant versions? Are there any guidelines on this? The red hat newlib documentations just says that an OS should implement the systemcallsnd that there are also reentranr version, but it doesn't state whether the reentrant versions need to be implemented too, or how reentrant calls can be omitted?

I assume that in order to omit reentrant calls, one would need to rebuilt the libc without reentrant functions? And is there an old gnu toolchain version which has no reentrant calls implemented, and where I'd also need to provide reentrant calls? xD

2 ответов

10 просмотров

why don't you want reentrant versions?

you Need to implement reentrant and not, for example malloc can be reentrant and not

Похожие вопросы

Обсуждают сегодня

Is UniBright Freequity an active live product ? A friend here in Asia was discussing the Tokenisation of RWA’s in his case Real Estate as he’s a developer with numerous overs...
Digital Trust
4
Hi, is it fine to use git to backup my config? I did so many things that I don't want to miss if I switched to another OS, so how do you backup your home and configs? And shou...
Adnan Al_Beda
30
коллеги, добрый вечер! А никто не знает как модальная форма может себя закрыть? Ну допустим модальная форма определила, что смысла ей работать нет и хочет вернуть modalResult...
Михаил
83
Добрый день задумываюсь о создание токена из за того что много свободного времени и вот я узнал что транзакции за перевод этого токена будут в waves и тут пришла идея при тран...
Артем
3
А если изначально бот работал так : есть сайт онлайн школы. У каждого ученика свой кабинет. Где он авторизуется по своим данным. И уже в кабинете, на самом сайте делает оплату...
Денис 💡 Фрилансер
13
А что ты вообще делаешь ?
Yesgoter
13
На работе пишем распределенное приложение, у которого сотни, если не тысячи настроек. Конфиги написаны на xml, расположены на разных хостах и должны быть согласованы друг с др...
Aleksandr Druzhinin
5
Crypto aman premium grp koi join kiya hai... Kaisa hai service any one idea??
Arvind Sharma
16
Всем привет 🙂 Какая-то непонятная проблема у меня с видео, раньше такого не было. Загружаю видео с гугл диска именно в видео mp4 и меняю ссылку как положено вот она: https://d...
Ксюша|Верстка на Тильде|Дизайн 🦥
6
Добрый день Хочу начать обучение языку, не являюсь представителем it, буду благодарна за помощь, совсем пока не понимаю ничего) Подскажите, пожалуйста, где можно начать первы...
Sara Lala
18
Карта сайта