aboutsummaryrefslogtreecommitdiff
path: root/sys/linux/src/infofd.c
blob: 770009a7cb9fe95b7a5cc5fdf2f15baecdc16814 (plain)
1
2
3
4
5
6
7
8
9
#include "internal.h"

int
sys·infofd(int fd, sys·Info *file)
{
    if(fd < 0)
        return sys·ErrorBadFd;
    return sys·infoat(fd, "", sys·AtEmptyPath, sys·InfoAll, file);
}