Searched refs:symlink_buf (Results 1 - 1 of 1) sorted by relevance

/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/
H A Dfbc_dev.c109 char symlink_buf[MAXPATHLEN]; /* Resolution path buffer */ local
126 if (len >= sizeof (symlink_buf)) {
129 memcpy(symlink_buf, default_path, len+1);
140 len = readlink(symlink_buf,
147 strerror(errno), symlink_buf);
154 ptr = &symlink_buf[0]; /* To overwrite the entire link path */
156 ptr = strrchr(symlink_buf, '/');
158 ptr = &symlink_buf[0];
163 if ((ptr - &symlink_buf[0] + len) >= sizeof (respath_buf)) {
179 ptr = strrchr(symlink_buf, '
[all...]

Completed in 217 milliseconds