資源簡介
最新版本linux libc庫實現源碼.里面有各種函數的實現源碼,很適合學習

代碼片段和文件信息
/*?ansiAssert.c?-?ANSI?‘assert‘?documentation?*/
/*?Copyright?1992?Wind?River?Systems?Inc.?*/
/*
modification?history
--------------------
01a24oct92smb??written.
*/
/*
DEscriptION
The?header?assert.h?defines?the?assert()?macro?and?refers?to?another
macro?NDEBUG?which?is?not?defined?by?assert.h.??If?NDEBUG?is?defined
as?a?macro?at?the?point?in?the?source?file?where?assert.h?is?included
the?assert()?macro?is?defined?simply?as:
.CS
????#define?assert(ignore)?((void)0)
.CE
ANSI?specifies?that?assert()?should?be?implemented?as?a?macro?not?as?a
routine.??If?the?macro?definition?is?suppressed?in?order?to?access?an
actual?routine?the?behavior?is?undefined.
INCLUDE?FILES:?stdio.h?stdlib.h?assert.h
SEE?ALSO:?American?National?Standard?X3.159-1989
*/
/******************************************************************************
*
*?assert?-?put?diagnostics?into?programs?(ANSI)
*?
*?If?an?expression?is?false?(that?is?equal?to?zero)?the?assert()?macro
*?writes?information?about?the?failed?call?to?standard?error?in?an
*?implementation-defined?format.??It?then?calls?abort().
*?The?diagnostic?information?includes:
*?????-?the?text?of?the?argument
*?????-?the?name?of?the?source?file?(value?of?preprocessor?macro?__FILE__)
*?????-?the?source?line?number?(value?of?preprocessor?macro?__LINE__)
*
*?INCLUDE:?stdio.h?stdlib.h?assert.h
*?
*?RETURNS:?N/A
*?
*/??
void?assert
????(
????int?a
????)
????{
????/*?This?is?a?dummy?for?documentation?purposes?*/
????}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????295??1997-08-01?10:27??libc\Makefile
????..A.SHR?????????9??2007-06-28?14:20??libc\Desktop_2.ini
????..A.SHR?????????9??2007-06-28?14:34??libc\Desktop_1.ini
?????文件??????45944??2001-10-12?09:15??libc\time\ansiTime.c
?????文件???????1984??2000-11-18?16:51??libc\time\asctime.c
?????文件???????1618??2001-10-12?09:15??libc\time\clock.c
?????文件???????1975??1993-06-08?02:10??libc\time\ctime.c
?????文件???????1086??2001-10-12?09:15??libc\time\difftime.c
?????文件???????5708??1997-08-01?10:04??libc\time\gmtime.c
?????文件???????2596??2000-11-18?16:51??libc\time\localtime.c
?????文件???????1059??1993-06-08?02:10??libc\time\locTime.c
?????文件????????635??2001-11-08?10:13??libc\time\Makefile
?????文件???????5047??1997-08-01?10:04??libc\time\mktime.c
?????文件??????19682??2000-11-18?16:51??libc\time\strftime.c
?????文件???????1325??1993-06-08?02:10??libc\time\time.c
????..A.SHR?????????9??2007-06-28?14:21??libc\time\Desktop_2.ini
????..A.SHR?????????9??2007-06-28?14:34??libc\time\Desktop_1.ini
?????文件??????39370??1997-08-01?10:04??libc\string\ansiString.c
?????文件????????940??2001-11-08?10:13??libc\string\Makefile
?????文件???????1267??1994-12-14?11:16??libc\string\memchr.c
?????文件???????1459??1994-12-14?11:17??libc\string\memcmp.c
?????文件???????1372??1994-12-14?11:17??libc\string\memcpy.c
?????文件???????1328??2009-05-06?14:26??libc\string\memmove.c
?????文件???????1235??1995-05-20?10:38??libc\string\memset.c
?????文件???????1142??1994-12-14?11:17??libc\string\strcat.c
?????文件???????1173??1994-12-14?11:17??libc\string\strchr.c
?????文件???????1078??1994-12-14?11:17??libc\string\strcmp.c
?????文件???????3618??2002-06-27?08:54??libc\string\strcoll.c
?????文件????????885??1994-12-14?11:18??libc\string\strcpy.c
?????文件???????1333??2009-05-06?14:46??libc\string\strcspn.c
............此處省略174個文件信息
- 上一篇:jpeg格式圖片的讀取和顯示
- 下一篇:Depands DLL查看工具
評論
共有 條評論