ptyfs.h 506 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2023-12-02 Shell init ver.
  9. */
  10. #ifndef __FS_PTYFS_H__
  11. #define __FS_PTYFS_H__
  12. #include <rtthread.h>
  13. typedef rt_base_t ptsno_t;
  14. ptsno_t ptyfs_register_pts(rt_device_t ptmx, rt_device_t pts);
  15. rt_err_t ptyfs_unregister_pts(rt_device_t ptmx, ptsno_t ptsno);
  16. const char *ptyfs_get_rootpath(rt_device_t ptmx);
  17. #endif /* __FS_PTYFS_H__ */