mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
22 lines
329 B
C++
22 lines
329 B
C++
/*
|
|
* Copyright (c) 2018-2020, the SerenityOS developers.
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <sys/stat.h>
|
|
#include <unistd.h>
|
|
|
|
int main()
|
|
{
|
|
if (!fork()) {
|
|
for (;;) {
|
|
mkdir("/tmp/x", 0666);
|
|
rmdir("/tmp/x");
|
|
}
|
|
}
|
|
for (;;) {
|
|
chdir("/tmp/x");
|
|
}
|
|
}
|