??????2013??У?б?????????
???????????? ???????[ 2013/10/28 10:07:54 ] ????????????
????????linux???????????????
????1??Linux??????????????????
????2??Linux?е??????????????????????
????3????????????????????????
????4??????????????亯???
?????????棺??????????????????????????????
???????????????
?????????log??????£?????????Σ?time(???????????)+uid+login??logout???????????????????С????????£????????????T???????????????
???????????ο????????http://blog.csdn.net/tnndye/article/details/12784237??
????10??8?????????????-????????/??????
????1????????????????????????????????????????????????????????????012??????????????????????顣
???????????????????????μ??????8С???http://blog.csdn.net/v_july_v/article/details/6211155??
????2?????C??strstr
????????????д??????????????????????м????????????????
????????????????str1?в?????????????str2??
????-????У???str1?е?str2λ????????str1??str2???λ???????????У?????null??
??????????ο??????????C????
????[cpp] view plaincopyprint?
????char *mystrstr(char *s1 ?? char *s2)
????{
????if(*s1==0)
????{
????if(*s2)
????return(char*)NULL;
????return (char*)s1;
????}
????while(*s1)
????{
????int i=0;
????while(1)
????{
????if(s2[i]==0)
????return s1;
????if(s2[i]!=s1[i])
????break;
????i++;
????}
????s1++;
????}
????return (char*)NULL;
????}
????char *mystrstr(char *s1 ?? char *s2)
????{
????if(*s1==0)
????{
????if(*s2)
????return(char*)NULL;
????return (char*)s1;
????}
????while(*s1)
????{
????int i=0;
????while(1)
????{
????if(s2[i]==0)
????return s1;
????if(s2[i]!=s1[i])
????break;
????i++;
????}
????s1++;
????}
????return (char*)NULL;
????}
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11