Welcome to little lamb

Code » limb » master » tree

[master] / src / liblimb / djbunix.h / openb_readat.c

/* This file is part of limb                           https://lila.oss/limb
 * Copyright (C) 2023 Olivier Brunel                          jjk@jjacky.com */
/* SPDX-License-Identifier: GPL-2.0-only */
#include <fcntl.h>
#include <limb/djbunix.h>

int
openb_readat(int fd, const char *file)
{
    return open2_at(fd, file, O_RDONLY);
}