Репозитории ALT
S: | 9.4.0.24.75e248-alt1 |
5.1: | 7.6-alt1 |
4.1: | 6.11-alt1 |
4.0: | 5.97-alt6 |
3.0: | 5.3.1-alt0.4 |
Другие репозитории
Upstream: | 8.1pl3 |
Группа :: Система/Основа
Пакет: coreutils
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
#include <stdio.h>
#include <errno.h>
#include <error.h>
#include <stdlib.h>
#include <limits.h>
int
main (int ac, char *const *av)
{
int i, rc = EXIT_SUCCESS;
for (i = 1; i < ac; ++i)
{
char resolved[PATH_MAX];
if (realpath (av[i], resolved))
puts (resolved);
else
{
error (EXIT_SUCCESS, errno, "%s", av[i]);
rc = EXIT_FAILURE;
}
}
return rc;
}