Is there a POSIX syscall to resolve file system paths?
        Posted  
        
            by Mike
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Mike
        
        
        
        Published on 2010-04-27T16:42:47Z
        Indexed on 
            2010/04/27
            22:43 UTC
        
        
        Read the original article
        Hit count: 487
        
Is there a POSIX syscall to resolve filesystem paths? I have the CWD for a path, as well as the path to a file from that CWD. I can't use chdir to switch to the directory because I need to resolve paths from multiple threads simultaneously. I considered appending a / in between the CWD and the path, but for some reason it feels like that's hacky. Is that the proper way to resolve relative paths?
© Stack Overflow or respective owner