This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: canonicalize_file_name


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to John Emmas on 10/30/2008 2:00 AM:
> On my Linux boxes, /usr/include/stdlib.h declares a function called
> 'canonicalize_file_name()'.  AFAICT its purpose is to return the
> absolute path to a file (or folder) after resolving any symbolic links
> in the supplied path.  Cygwin's stdlib.h doesn't contain this function. 
> I just wondered if it's available anywhere else or if there's an
> equivalent function elsewhere.

Cygwin doesn't (yet) provide it (http://cygwin.com/acronyms/#PTC).  But
gnulib provides a variant that is used within several cygwin packages:
http://www.gnu.org/software/gnulib/MODULES.html#module=canonicalize

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkJn1IACgkQ84KuGfSFAYDEaQCgtrrniTK8D52/B3OMK8iTszkc
ayoAnjSAe8c8ax3qX1dZkjsq8Yhp5eCd
=1nU6
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]