fullpath function

Is there a C function equivalent to the “fullpath” utility?
Markus

Markus Loffler <loffler@ces.clemson.edu> wrote:

Is there a C function equivalent to the “fullpath” utility?
Markus

cburgess:/home/cburgess >grep fullpath /usr/include/*.h
/usr/include/stdlib.h:extern char *_fullpath( char *__buf, const char *__pat
h, _CSTD size_t __size );
cburgess:/home/cburgess >

:v)


cburgess@qnx.com

Thanks… I should be able to find this function in the helpviewer, but it’s
not there.
One should be able to live without searching the headerfiles :wink:
Markus

“Colin Burgess” <cburgess@qnx.com> wrote in message
news:9g2ksq$d14$1@nntp.qnx.com

Markus Loffler <> loffler@ces.clemson.edu> > wrote:
Is there a C function equivalent to the “fullpath” utility?
Markus


cburgess:/home/cburgess >grep fullpath /usr/include/*.h
/usr/include/stdlib.h:extern char *_fullpath( char *__buf, const char
*__pat
h, _CSTD size_t __size );
cburgess:/home/cburgess

:v)


cburgess@qnx.com

Markus Loffler <loffler@ces.clemson.edu> wrote:

Thanks… I should be able to find this function in the helpviewer, but it’s
not there.
One should be able to live without searching the headerfiles > :wink:
Markus

Actually, checkout realpath() - it appears to be the same thing, and is
documented.

“Colin Burgess” <> cburgess@qnx.com> > wrote in message
news:9g2ksq$d14$> 1@nntp.qnx.com> …
Markus Loffler <> loffler@ces.clemson.edu> > wrote:
Is there a C function equivalent to the “fullpath” utility?
Markus


cburgess:/home/cburgess >grep fullpath /usr/include/*.h
/usr/include/stdlib.h:extern char *_fullpath( char *__buf, const char
*__pat
h, _CSTD size_t __size );
cburgess:/home/cburgess

:v)


cburgess@qnx.com


cburgess@qnx.com