简体   繁体   English

unistd.h实现

[英]unistd.h implementation

My toolchain (Realview) does not have implementation of unistd.h , I have a code that I need to use that is using unistd.h , some function like access , open . 我的工具链(的RealView)没有实现的unistd.h ,我有我需要使用一个代码unistd.h ,像一些功能accessopen

So I need to implement this functions by myself. 因此,我需要自己实现此功能。

My question is, is there another alternative or some reference (except the function description, found here ) that I can use in order to port/implement these functions? 我的问题是,是否可以使用其他替代方法或某些参考(功能描述除外,请参见此处 )来移植/实现这些功能?

What is the correct way to do that? 正确的方法是什么? It's my first time posting. 这是我第一次发帖。

The "function description" you link to has the page title "The Open Group Base Specifications Issue 6", which indicates that it's perhaps a bit more of a heavy-weight than just being a mere description. 链接到的“功能描述”页面标题为“ The Open Group基本规范第6期”,这表明它可能不仅仅是一个简单的描述,而是更多的重量级内容。

If you implement a function that fulfills all the text on that page correctly, chances are you've managed to re-implement it in a compatible way, so that programs complying to the same standard will build and work. 如果您实现的功能可以正确实现该页面上所有文本的功能,则可能会设法以兼容的方式重新实现该功能,从而使符合相同标准的程序可以构建并运行。

Not sure what else you feel you would need. 不知道您觉得还需要什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM