/* * Copyright (c) 2018-2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #include #include namespace Kernel { KResultOr Process::sys$sync() { REQUIRE_PROMISE(stdio); VFS::the().sync(); return 0; } }