2

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.

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.

4

1 回答 1

1

您链接到的“功能描述”的页面标题为“The Open Group Base Specifications Issue 6”,这表明它可能比单纯的描述更重要。

如果您实现了一个正确地满足该页面上所有文本的功能,那么您很可能已经设法以兼容的方式重新实现它,以便符合相同标准的程序能够构建和工作。

不知道你觉得你还需要什么。

于 2012-12-05T14:40:22.393 回答