參考 http://blog.csdn.net/vevenlcf/article/details/48134313 http://linux.chinaunix.net/techdoc/develop/2009/02/09/1061563.shtmlhtml