title: Getting absolute path of a file
body: <p>How can I convert a relative path to an absolute path in C on Unix?
  Is there a convenient system function for this?</p>
  
  <p>On Windows there is a <code>GetFullPathName</code> function that does the job, but I didn't find something similar on Unix...</p>