Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
93 user(s) are online (90 user(s) are browsing Forums)

Members: 0
Guests: 93

more...

Support us!

Headlines

 
  Register To Post  

How does libunix work?
Quite a regular
Quite a regular


See User information
When linking with libunix the binary can handle paths differently. How does it work internally?

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: How does libunix work?
Amigans Defender
Amigans Defender


See User information
It sets a variable into newlib to true that is tested at runtime and change the path handling

i'm really tired...
Go to top
Re: How does libunix work?
Just can't stay away
Just can't stay away


See User information
If it's enabled it does some string replacements in the path before calling the AmigaOS functions locking or opening a file or directory, for example "/xyz/" is replaced by "xyz:", "./" removed, "../" replaced by "/", etc., and probably the other way round when getting a file or dir name.
There are some other differences enabled with as well I don't remember, for example it may support reading directories with file I/O functions like Unix does.

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project