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.

choroba
  • 231,213
  • 25
  • 204
  • 289
Fluffy
  • 337
  • 1
  • 5
  • 16

1 Answers1

1

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.

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.

unwind
  • 391,730
  • 64
  • 469
  • 606
  • Okay,So what you are saying is that following the specification and re-implement the needed function is the way to go? – Fluffy Dec 05 '12 at 14:46