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

#include <mntent.h>
#include <stdio.h>

int main(void) {
	return !getmntent(stdin);
}