mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-13 16:35:35 +08:00
cf2528eb7c
完善了非阻塞IO的SSL功能;将 acl/samples/ 下的示例分别移到 lib_acl 及 lib_protocol 目录下
17 lines
353 B
C
17 lines
353 B
C
#include "lib_acl.h"
|
|
#include <stdio.h>
|
|
|
|
int main(int argc acl_unused, char *argv[] acl_unused)
|
|
{
|
|
const char *ptr = acl_process_path();
|
|
const char *ptr1 = acl_getcwd();
|
|
|
|
printf("current process file's path: %s, getcwd: %s\n",
|
|
ptr ? ptr : "unknown", ptr1 ? ptr1 : "unknown");
|
|
|
|
#ifdef ACL_MS_WINDOWS
|
|
getchar();
|
|
#endif
|
|
return (0);
|
|
}
|