As the title, is there a function in GNU C library?
This is a discussion on How to judge whether a path is relative or absolute? within the C Programming forums, part of the General Programming Boards category; As the title, is there a function in GNU C library?...
As the title, is there a function in GNU C library?
It begins with a dot.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
I am not entirely sure, but I believe that a simple check for a leading '/' or a drive label like 'C:' would suffice, depending on platform, of course.
C + C++ Compiler: MinGW port of GCC
Version Control System: Bazaar
Look up a C++ Reference and learn How To Ask Questions The Smart Way