Memory Allocation Subsystem
数据类型 subsystem_spec()= {subsystem_name(),{channel_callback(),channel_init_args()}} subsystem_name()=
为了说明,假设你处于某人开发subsystem分支的情况,并且你正在研究一个topic依赖于此的分支subsystem。
subsystem(SSH,ChannelId,Subsystem)->Status|{error,Reason} 相当于ct_ssh:subsystem(SSH,ChannelId,Subsystem
函数subsystem/4和随后的调用send/3,4,5必须在同一个进程中执行。
-返回ssh:daemon/[1,2,3] ssh_connection_ref()= opaque()-返回ssh:connect/3 ip_address()= inet::ip_address subsystem_spec
daemon(8989,[{system_dir,"/tmp/ssh_daemon"},{user_dir,"/tmp/otptest_user/.ssh"},{subsystems,[ssh_sftpd:subsystem_spec