Skip to content
Snippets Groups Projects
Commit 635988d0 authored by Razvan Deaconescu's avatar Razvan Deaconescu
Browse files

src: Include internal/syscall.h in stat files


Reference solution for implementing `stat()` and `fstat()` relies on
system call being made. Include `internal/syscall.h` in corresponding
source code files to provide the `syscall()` function.

Signed-off-by: default avatarRazvan Deaconescu <razvan.deaconescu@upb.ro>
parent 39bd023d
No related branches found
No related tags found
No related merge requests found
Pipeline #25241 passed
// SPDX-License-Identifier: BSD-3-Clause
#include <sys/stat.h>
#include <internal/syscall.h>
#include <errno.h>
int fstat(int fd, struct stat *st)
......
// SPDX-License-Identifier: BSD-3-Clause
#include <sys/stat.h>
#include <internal/syscall.h>
#include <fcntl.h>
#include <errno.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment