mirror_ubuntu-kernels/tools/build/feature/test-get_current_dir_name.c

12 lines
177 B
C
Raw Normal View History

2024-07-02 00:48:40 +03:00
// SPDX-License-Identifier: GPL-2.0
#define _GNU_SOURCE
#include <unistd.h>
#include <stdlib.h>
int main(void)
{
free(get_current_dir_name());
return 0;
}
#undef _GNU_SOURCE