QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 602|回复: 0

why my daemon process exited?

[复制链接]
发表于 2003-8-2 09:52:46 | 显示全部楼层 |阅读模式
I writed a daemon program, using the daemon_init() function, giving by the UNIX Network Programming Vol1[Stevens 1998]. But
it exited after this function was called! And when I debuged it with
gdb, I found it exited normally just in this call. Even did the daemon() system call!
I'm very puzzled. Could someone who give me a explaination for detail?
Thanks a lot!

P.S. My kernel is 2.4.18-14(RH8.0)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-15 09:08 , Processed in 0.048956 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表