PosixWriter.cpp 538 B

123456789101112131415161718192021
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2022-12-25
  6. * Changed: 2022-12-25
  7. *
  8. * */
  9. #include <ls_std/common/api/io/PosixWriter.hpp>
  10. ls::std::common::api::PosixWriter::PosixWriter()
  11. = default;
  12. ls::std::common::api::PosixWriter::~PosixWriter()
  13. = default;
  14. size_t ls::std::common::api::PosixWriter::write(int _unixFileDescriptor, void *_buffer, size_t _size)
  15. {
  16. return ::write(_unixFileDescriptor, _buffer, _size);
  17. }