我正在尝试理解asl.h是如何工作的,而我正在根据这个方法的http://www.opensource.apple.com/source/Libc/Libc-583/include/asl.h评论阅读asl.h。
aslclient asl_open(const char *ident, const char *facility, uint32_t opts);它被称为“初始化到ASL服务器的连接”。我想知道在这种情况下ASL服务器是什么。
谢谢
发布于 2015-05-13 02:22:29
首先要查找有关使用ASL的详细信息是手册页,您可以使用以下命令在终端中拉出该手册页:
man 3 asl除此之外,Peter Hosey的空闲时间网站有a number of posts detailing how ASL works。
对于那些希望从基于Swift的应用程序接口中使用ASL的人来说,还有the CleanroomASL open-source project,它还详细介绍了ASL在iOS设备和Mac上的工作方式。
https://stackoverflow.com/questions/24017032
复制相似问题