Do you mean? https://pubs.opengroup.org/onlinepubs/009696799/functions/realpath.html https://man7.org/linux/man-pages/man3/realpath.3p.html https://man7.org/linux/man-pages/man3/realpath.3.html
-----Original Message----- From: Richard Cochran <richardcoch...@gmail.com> Sent: Wednesday, 17 November 2021 05:23 To: Keller, Jacob E <jacob.e.kel...@intel.com> Cc: linuxptp-devel@lists.sourceforge.net; Ed Branch <bra...@arlut.utexas.edu> Subject: Re: [Linuxptp-devel] [PATCH] util: don't error out in posix_clock_open() if we can't determine PHC index On Tue, Nov 16, 2021 at 10:09:59PM +0000, Keller, Jacob E wrote: > Is it possible for us to resolve symlinks ourselves before attempting to > check its index value? That would be an added convenience for users. Hm, is there a unix/stdlib C API for realpath? If so, then yes. (I haven't heard of such an API.) Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Flinuxptp-devel&data=04%7C01%7Cerez.geva.ext%40siemens.com%7C43612f87a8f44034b17508d9a9824e9c%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637727199964074616%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=ml3ts%2BuweHdldzu2MPKUNRiAOsyGjC1tTMYorx3rIz8%3D&reserved=0 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel