Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/tools/build/feature/test-get_current_dir_name.c
26288 views
1
// SPDX-License-Identifier: GPL-2.0
2
#define _GNU_SOURCE
3
#include <unistd.h>
4
#include <stdlib.h>
5
6
int main(void)
7
{
8
free(get_current_dir_name());
9
return 0;
10
}
11
#undef _GNU_SOURCE
12
13