6

我寻求一个实现的 GNU Common Lisp 包forkpty()openpty()也将是一个很大的优势,并且login_tty()将是我可以忍受的奢侈品。(Duckduckgo、Google 等都没有帮助。)有吗?在哪里?

4

2 回答 2

1

https://github.com/cffi-posix/ 似乎是放置您要查找的代码的正确位置。

这个想法是将标准 UNIX 头文件移植到 CFFI-* 包。

于 2017-06-16T11:49:44.080 回答
0

LISP is not know for its libraries, which is often though to be a side effect of its power (and lack of portability, and fragmented community, etc.). You are welcome to make your own and put it on github (or a similar platform)!

This is a rather unsatisfying non-answer, so: No, there probably isn't. If there is it is likely to not be portable enough to work on your implementation anyway.

于 2016-01-16T22:11:28.630 回答