openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/util-linux/2.33.2-r0/util-linux-2.33.2/lib/path.c
ssize_t ul_path_readlinkf(struct path_cxt* pc, char* buf, size_t bufsiz,
                          const char* path, ...)
{
    const char* p;
    va_list ap;

    va_start(ap, path);
    p = ul_path_mkpath(pc, path, ap);
    va_end(ap);

    if (!p)
        return -errno;

    return ul_path_readlink(pc, buf, bufsiz, p);
}
/*
 * If @path is NULL then readlink is called on @pc directory.
 */
If @path is NULL then readlink is called on @pc directory.
If @path is NULL then readlink is called on @pc directory .
ssize_t ul_path_readlinkf(struct path_cxt* pc, char* buf, size_t bufsiz,
                          const char* path, ...)
{
    const char* p;
    va_list ap;
    va_start(ap, path);
    p = ul_path_mkpath(pc, path, ap);
    va_end(ap);
    if (!p)
        return -errno;
    return ul_path_readlink(pc, buf, bufsiz, p);
}
ssize_t ul_path_readlinkf ( struct path_cxt * pc , char * buf , size_t bufsiz , const char * path , ... ) { const char * p ; va_list ap ; va_start ( ap , path ) ; p = ul_path_mkpath ( pc , path , ap ) ; va_end ( ap ) ; if ( ! p ) return - errno ; return ul_path_readlink ( pc , buf , bufsiz , p ) ; }
If @path is NULL then readlink is called on @pc directory.
If @path is NULL then readlink is called on @pc directory .