symlink 467 src/libsir/src/sirfilesystem.c char symlink[SIR_MAXSLPATH], temp_buffer[SIR_MAXPATH]; symlink 497 src/libsir/src/sirfilesystem.c (void)snprintf(symlink, SIR_MAXPATH, "%s", argv[0]); symlink 499 src/libsir/src/sirfilesystem.c res = _sir_readlink(symlink, temp_buffer, SIR_MAXPATH); symlink 501 src/libsir/src/sirfilesystem.c (void)_sir_strncpy(buffer, SIR_MAXPATH, symlink, SIR_MAXPATH); symlink 503 src/libsir/src/sirfilesystem.c (void)snprintf(buffer, *size - 1, "%s/%s", (char*)dirname(symlink), symlink 518 src/libsir/src/sirfilesystem.c (void)snprintf(symlink, SIR_MAXPATH, "%s%s", cwdl, relative + 1); symlink 520 src/libsir/src/sirfilesystem.c res = _sir_readlink(symlink, temp_buffer, SIR_MAXPATH); symlink 522 src/libsir/src/sirfilesystem.c (void)_sir_strncpy(buffer, SIR_MAXPATH, symlink, SIR_MAXPATH); symlink 524 src/libsir/src/sirfilesystem.c (void)snprintf(buffer, *size - 1, "%s/%s", (char*)dirname(symlink), temp_buffer); symlink 535 src/libsir/src/sirfilesystem.c (void)snprintf(symlink, SIR_MAXPATH, "%s%s", cwdl, argv[0]); symlink 537 src/libsir/src/sirfilesystem.c res = _sir_readlink(symlink, temp_buffer, SIR_MAXPATH); symlink 539 src/libsir/src/sirfilesystem.c (void)_sir_strncpy(buffer, SIR_MAXPATH, symlink, SIR_MAXPATH); symlink 541 src/libsir/src/sirfilesystem.c (void)snprintf(buffer, *size - 1, "%s/%s", (char*)dirname(symlink), temp_buffer); symlink 568 src/libsir/src/sirfilesystem.c (void)snprintf(symlink, SIR_MAXSLPATH, "%s%s/%s", cwdl, relative + 1, symlink 571 src/libsir/src/sirfilesystem.c (void)snprintf(symlink, SIR_MAXSLPATH, "%s%s", cwdl, ps.pr_fname); symlink 574 src/libsir/src/sirfilesystem.c if (stat(symlink, &statstruct) != -1) { symlink 575 src/libsir/src/sirfilesystem.c res = _sir_readlink(symlink, temp_buffer, SIR_MAXPATH); symlink 577 src/libsir/src/sirfilesystem.c (void)_sir_strncpy(buffer, SIR_MAXPATH, symlink, SIR_MAXPATH); symlink 579 src/libsir/src/sirfilesystem.c (void)snprintf(buffer, *size - 1, "%s/%s", (char*)dirname(symlink), temp_buffer); symlink 585 src/libsir/src/sirfilesystem.c (void)snprintf(symlink, SIR_MAXPATH, "%s/%s", token, ps.pr_fname); symlink 586 src/libsir/src/sirfilesystem.c if (stat(symlink, &statstruct) != -1) { symlink 587 src/libsir/src/sirfilesystem.c res = _sir_readlink(symlink, temp_buffer, SIR_MAXPATH); symlink 589 src/libsir/src/sirfilesystem.c (void)_sir_strncpy(buffer, SIR_MAXPATH, symlink, SIR_MAXPATH); symlink 591 src/libsir/src/sirfilesystem.c (void)snprintf(buffer, *size - 1, "%s/%s", (char*)dirname(symlink), temp_buffer);