Path: blob/main/system/lib/wasmfs/special_files.h
6175 views
// Copyright 2022 The Emscripten Authors. All rights reserved.1// Emscripten is available under two separate licenses, the MIT license and the2// University of Illinois/NCSA Open Source License. Both these licenses can be3// found in the LICENSE file.45#pragma once67#include "file.h"89namespace wasmfs::SpecialFiles {1011// /dev/null12std::shared_ptr<DataFile> getNull();1314// /dev/stdin15std::shared_ptr<DataFile> getStdin();1617// /dev/stdout18std::shared_ptr<DataFile> getStdout();1920// /dev/stderr21std::shared_ptr<DataFile> getStderr();2223// /dev/random24std::shared_ptr<DataFile> getRandom();2526// /dev/urandom27std::shared_ptr<DataFile> getURandom();2829} // namespace wasmfs::SpecialFiles303132