summaryrefslogtreecommitdiffstats
path: root/build/has/getmntent-2.c
blob: 71f0220dd160352b474e2cd3cf36e7bd8f597678 (plain)
1
2
3
4
5
6
7
8
9
10
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD

#include <stdio.h>
#include <sys/mnttab.h>

int main(void) {
	struct mnttab mnt;
	return getmntent(stdin, &mnt);
}