Home
last modified time | relevance | path

Searched refs:dstname (Results 1 – 1 of 1) sorted by relevance

/coreutils/src/
Dforce-link.c51 samedir_template (char const *dstname, char buf[smallsize]) in samedir_template() argument
53 ptrdiff_t dstdirlen = last_component (dstname) - dstname; in samedir_template()
64 strcpy (mempcpy (dsttmp, dstname, dstdirlen), simple_pattern); in samedir_template()
96 int dstdir, char const *dstname, int flags, bool force, in force_linkat() argument
100 linkat_errno = (linkat (srcdir, srcname, dstdir, dstname, flags) == 0 in force_linkat()
106 char *dsttmp = samedir_template (dstname, buf); in force_linkat()
116 err = renameat (dstdir, dsttmp, dstdir, dstname) == 0 ? -1 : errno; in force_linkat()
152 force_symlinkat (char const *srcname, int dstdir, char const *dstname, in force_symlinkat() argument
156 symlinkat_errno = symlinkat (srcname, dstdir, dstname) == 0 ? 0 : errno; in force_symlinkat()
161 char *dsttmp = samedir_template (dstname, buf); in force_symlinkat()
[all …]