亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ansistring.c

?? vxworks5.5.1源代碼。完整源代碼
?? C
?? 第 1 頁 / 共 3 頁
字號:
    {    size_t sz;    /* loop until chars delivered */    do  	{        p->sout = (const uchar_t *) p->buf;        sz = __strxfrm (p->buf, &p->s1, sizeof (p->buf), &p->state);        if ((sz > 0) && (p->buf [sz - 1] == EOS))    	    return (sz - 1);        if (*p->s1 == EOS)	     p->s1 = p->s2;		/* rescan */        } while (sz == 0);    return (sz);    }	/***************************************************************************** strcoll - compare two strings as appropriate to LC_COLLATE  (ANSI)** This routine compares two strings, both interpreted as appropriate to the* LC_COLLATE category of the current locale.** INCLUDE FILES: string.h** RETURNS:* An integer greater than, equal to, or less than zero, according to whether* string <s1> is greater than, equal to, or less than string <s2> when both* are interpreted as appropriate to the current locale.*/int strcoll    (    const char * s1,	/* string 1 */    const char * s2	/* string 2 */    )    {    size_t n1 = 0;		/* size of string 1 */    size_t n2 = 0;		/* size of string 2 */    __sct1 st1;			/* transform structure for string 1 */    __sct1 st2;		 	/* transform structure for string 2 */    static const __cosave initial = 	{	0	};    /* compare s1[], s2[] using locale-dependant rules */    st1.s1	= (const uchar_t *)s1;	/* string transformation 1 */    st1.s2	= (const uchar_t *)s1;    st1.state	= initial;    st2.s1	= (const uchar_t *)s2;	/* string transformation 2 */    st2.s2	= (const uchar_t *)s2;    st2.state	= initial;    FOREVER				/* compare transformed characters */    	{    	int ans;    	size_t sz;    	if (n1 == 0)    	    n1 = getxfrm (&st1);	/* string 1 */    	if (n2 == 0)    	    n2 = getxfrm (&st2);	/* string 2 */    	sz = (n1 < n2) ? n1 : n2;    	if (sz == 0)	    {    	    if (n1 == n2) 		return (0); 	    if (n2 > 0) 		return (-1);	    return (1);            }    	if ((ans = memcmp (st1.sout, st2.sout, sz)) != 0)    	    return (ans);    	st1.sout += sz;    	st2.sout += sz;    	n1 	 -= sz;    	n2 	 -= sz;    	}    }/* strcpy.c - string copy, string *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01c,25feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/********************************************************************************* strcpy - copy one string to another (ANSI)** This routine copies string <s2> (including EOS) to string <s1>.** INCLUDE FILES: string.h** RETURNS: A pointer to <s1>.*/char * strcpy    (    char *       s1,	/* string to copy to */    const char * s2	/* string to copy from */    )    {    char *save = s1;    while ((*s1++ = *s2++) != EOS)	;    return (save);    }/* strcspn.c - search string for character, string *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01c,25feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/********************************************************************************* strcspn - return the string length up to the first character from a given set (ANSI)** This routine computes the length of the maximum initial segment of string* <s1> that consists entirely of characters not included in string <s2>.** INCLUDE FILES: string.h** RETURNS:* The length of the string segment.** SEE ALSO: strpbrk(), strspn()*/ size_t strcspn       (    const char * s1,	/* string to search */    const char * s2	/* set of characters to look for in <s1> */    )    {    const char *save;    const char *p;    char 	c1;    char 	c2;    for (save = s1 + 1; (c1 = *s1++) != EOS; )	/* search for EOS */	for (p = s2; (c2 = *p++) != EOS; )	/* search for first occurance */	    {	    if (c1 == c2)		return (s1 - save);	      	/* return index of substring */            }    return (s1 - save);    }/* strerror.c - string error, string *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01d,25feb93,jdi  documentation cleanup for 5.1.01c,30nov92,jdi  fixed doc for strerror() - SPR 1825.01b,20sep92,smb  documentation additions01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"#include "errno.h"#include "symLib.h"#include "limits.h"#include "stdio.h"#include "sysSymTbl.h"#include "private/funcBindP.h"/* forward declarations */LOCAL STATUS strerrorIf (int errcode, char *buf);/********************************************************************************* strerror_r - map an error number to an error string (POSIX)** This routine maps the error number in <errcode> to an error message string.* It stores the error string in <buffer>.** This routine is the POSIX reentrant version of strerror().** INCLUDE FILES: string.h** RETURNS: OK or ERROR.** SEE ALSO: strerror()*/STATUS strerror_r     (    int    errcode,	/* error code */    char * buffer	/* string buffer */    )    {    return (strerrorIf (errcode, buffer));    }/********************************************************************************* strerror - map an error number to an error string (ANSI)** This routine maps the error number in <errcode> to an error message string.* It returns a pointer to a static buffer that holds the error string.** This routine is not reentrant.  For a reentrant version, see strerror_r().** INCLUDE: string.h** RETURNS: A pointer to the buffer that holds the error string.** SEE ALSO: strerror_r()*/char * strerror    (    int errcode		/* error code */    )    {    static char buffer [NAME_MAX];    (void) strerror_r (errcode, buffer);    return (buffer);    }/********************************************************************************* strerrorIf - interface from libc to VxWorks for strerror_r** RETURNS: OK, or ERROR if <buf> is null.* NOMANUAL*/LOCAL STATUS strerrorIf     (    int   errcode,		/* error code */    char *buf			/* string buffer */    )    {    int		value;    SYM_TYPE	type;    char	statName [NAME_MAX];    if (buf == NULL)	return (ERROR);    if (errcode == 0)	{        strcpy (buf, "OK");	return (OK);	}    if ((_func_symFindByValueAndType != (FUNCPTR) NULL) && (statSymTbl != NULL))	{	(* _func_symFindByValueAndType) (statSymTbl, errcode, statName, &value,					 &type, SYM_MASK_NONE, SYM_MASK_NONE);	if (value == errcode)	    {	    strcpy (buf, statName);	    return (OK);	    }	}    sprintf (buf, "errno = %#x", errcode);    return (OK);    }/* strlen.c - file for string *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01c,25feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/********************************************************************************* strlen - determine the length of a string (ANSI)** This routine returns the number of characters in <s>, not including EOS.** INCLUDE FILES: string.h** RETURNS: The number of non-null characters in the string.*/size_t strlen    (    const char * s        /* string */    )    {    const char *save = s + 1;    while (*s++ != EOS)	;    return (s - save);    }/* strncat.c - file for string *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01c,25feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/********************************************************************************* strncat - concatenate characters from one string to another (ANSI)** This routine appends up to <n> characters from string <src> to the* end of string <dst>.** INCLUDE FILES: string.h** RETURNS: A pointer to the null-terminated string <s1>.*/char * strncat    (    char *	 dst,  	/* string to append to */    const char * src,   /* string to append */    size_t	 n     	/* max no. of characters to append */    )    {    if (n != 0)	{	char *d = dst;	while (*d++ != EOS)			/* find end of string */	    ;	d--;					/* rewind back of EOS */	while (((*d++ = *src++) != EOS) && (--n > 0))	    ;	if (n == 0)	    *d = EOS;				/* NULL terminate string */	}    return (dst);    }/* strncmp.c - string compare, string *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01c,25feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/********************************************************************************* strncmp - compare the first <n> characters of two strings (ANSI)** This routine compares up to <n> characters of string <s1> to string <s2>* lexicographically.** INCLUDE FILES: string.h** RETURNS:* An integer greater than, equal to, or less than 0, according to whether* <s1> is lexicographically greater than, equal to, or less than <s2>,* respectively.*/int strncmp    (    const char * s1,           	/* string to compare */    const char * s2,           	/* string to compare <s1> to */    size_t       n             	/* max no. of characters to compare */    )    {    if (n == 0)	return (0);    while (*s1++ == *s2++)	{	if ((s1 [-1] == EOS) || (--n == 0))	    return (0);        }    return ((s1 [-1]) - (s2 [-1]));    }/* strncpy.c - string copy, string *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01c,25feb93,jdi  documentation cleanup for 5.1.01b,20sep92,smb  documentation additions01a,08jul92,smb  written and documented.*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/********************************************************************************* strncpy - copy characters from one string to another (ANSI)** This routine copies <n> characters from string <s2> to string <s1>.* If <n> is greater than the length of <s2>, nulls are added to <s1>.* If <n> is less than or equal to the length of <s2>, the target* string will not be null-terminated.** INCLUDE FILES: string.h** RETURNS: A pointer to <s1>.*/char *strncpy    (    char *      s1,   	/* string to copy to */    const char *s2,   	/* string to copy from */    size_t      n      	/* max no. of characters to copy */    )    {    FAST char *d = s1;    if (n != 0)	{	while ((*d++ = *s2++) != 0)	/* copy <s2>, checking size <n> */	    {	    if (--n == 0)		return (s1);            }	while (--n > 0)	    *d++ = EOS;			/* NULL terminate string */	}    return (s1);    }/* strpbrk.c - string search, string *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区在线观看动漫| 成人精品国产免费网站| 国产福利精品导航| 欧美性生活久久| 国产网站一区二区| 偷窥少妇高潮呻吟av久久免费| 国产综合久久久久久鬼色| 91免费国产在线观看| 久久一区二区视频| 婷婷中文字幕综合| 色综合网色综合| 26uuu国产一区二区三区| 亚洲成人综合视频| 99re免费视频精品全部| 久久久久久久久久美女| 偷拍亚洲欧洲综合| 欧美三日本三级三级在线播放| 国产精品蜜臀在线观看| 国产一区二区精品久久| 日韩欧美激情在线| 日韩激情av在线| 欧美在线啊v一区| 亚洲免费三区一区二区| 成人av在线资源网站| 中文字幕日本不卡| 成人国产电影网| 日本一区二区三区视频视频| 久久福利视频一区二区| 欧美一区二区黄色| 日韩高清在线一区| 欧美高清视频不卡网| 亚洲综合色网站| 91天堂素人约啪| 日韩美女久久久| 色悠悠久久综合| 一区二区三区鲁丝不卡| 日本精品免费观看高清观看| 亚洲视频每日更新| 一本到不卡免费一区二区| 尤物av一区二区| 欧美在线色视频| 日韩黄色一级片| 久久久国产精品麻豆| 国产一区二区三区观看| 国产区在线观看成人精品| 成人做爰69片免费看网站| 久久精品免费在线观看| 成人午夜免费av| 亚洲乱码国产乱码精品精小说| 色狠狠综合天天综合综合| 午夜精品123| 日韩精品在线一区| 粉嫩aⅴ一区二区三区四区五区| 国产精品―色哟哟| 91美女片黄在线观看91美女| 亚洲国产一区二区三区青草影视 | 亚洲欧美成aⅴ人在线观看| aa级大片欧美| 天堂成人免费av电影一区| 日韩精品自拍偷拍| 国产98色在线|日韩| 一区二区三区欧美日| 日韩一区二区三区在线| 国产高清成人在线| 亚洲香肠在线观看| 欧美成人精品1314www| 成人精品小蝌蚪| 亚洲成a人片在线观看中文| 亚洲精品一线二线三线| 9色porny自拍视频一区二区| 午夜电影一区二区| 国产欧美日韩在线观看| 欧美色视频一区| 国产91精品精华液一区二区三区 | 国产拍揄自揄精品视频麻豆| www.激情成人| 免费看黄色91| 亚洲欧洲精品一区二区三区 | 樱花草国产18久久久久| 日韩小视频在线观看专区| 波多野结衣欧美| 日韩精品免费专区| 1区2区3区欧美| 欧美大片一区二区三区| 色88888久久久久久影院按摩 | 亚洲一区在线观看免费| 精品国产乱码久久| 欧美日韩高清不卡| www.亚洲人| 国产在线精品免费| 日韩国产在线观看一区| 一区在线中文字幕| 2023国产精品视频| 欧美绝品在线观看成人午夜影视| 懂色一区二区三区免费观看| 久久国产婷婷国产香蕉| 亚洲国产精品久久久久婷婷884| 欧美韩国日本不卡| 欧美va在线播放| 911精品产国品一二三产区| 91成人免费在线| av成人动漫在线观看| 成人网页在线观看| 国内精品免费**视频| 蜜桃视频在线一区| 天天爽夜夜爽夜夜爽精品视频| 亚洲精品ww久久久久久p站 | 99久久er热在这里只有精品66| 捆绑调教一区二区三区| 日韩中文字幕91| 午夜日韩在线观看| 午夜精品久久久久久久久久久| 一区二区三区日韩精品视频| 自拍视频在线观看一区二区| 国产精品家庭影院| 中文字幕一区二区三| 中文字幕在线视频一区| 国产精品激情偷乱一区二区∴| 国产精品久久久久久亚洲毛片 | 欧美一区二区三区免费观看视频| 在线观看一区日韩| 欧美网站大全在线观看| 精品视频123区在线观看| 91黄视频在线观看| 欧美日韩一区成人| 欧美老年两性高潮| 欧美一区二区三区日韩视频| 精品国产凹凸成av人导航| 久久精品亚洲精品国产欧美| 日本一区二区三区高清不卡| 亚洲国产精品av| 亚洲色图丝袜美腿| 亚洲一区二区在线观看视频 | 青青草一区二区三区| 蜜臀av性久久久久蜜臀av麻豆| 紧缚捆绑精品一区二区| 国产一区二区看久久| 91美女在线观看| 91精品国产一区二区人妖| 久久一区二区三区四区| 亚洲人成电影网站色mp4| 亚洲高清久久久| 久久99精品久久久久久动态图 | 久久久久久免费毛片精品| 国产精品不卡在线观看| 午夜不卡av在线| 国产精品一线二线三线| 色悠悠久久综合| 精品国产一二三| 最新日韩av在线| 久久99久久久欧美国产| 成人黄色小视频| 欧美人牲a欧美精品| 久久亚洲私人国产精品va媚药| 国产精品美女久久久久久久| 亚洲福利一二三区| 国内精品伊人久久久久av影院 | 精品卡一卡二卡三卡四在线| 丝袜亚洲另类丝袜在线| 精品一区二区在线观看| 91麻豆国产香蕉久久精品| 欧美一二三在线| 亚洲免费观看高清完整版在线| 蜜桃视频一区二区三区 | 久久精品国产免费| av亚洲精华国产精华精| 日韩亚洲国产中文字幕欧美| 一区二区三区四区高清精品免费观看| 婷婷开心久久网| 99re66热这里只有精品3直播| 日韩欧美美女一区二区三区| 一个色妞综合视频在线观看| 国产精品一区二区x88av| 欧美视频一区在线| 中文字幕在线视频一区| 国产一区二区精品久久99| 欧美丰满美乳xxx高潮www| 亚洲男帅同性gay1069| 国产一区二区三区在线观看免费 | 91影院在线观看| 久久视频一区二区| 天堂成人国产精品一区| 欧美亚洲动漫制服丝袜| 成人欧美一区二区三区视频网页| 久久99精品久久久| 欧美一二三区精品| 午夜久久久影院| 一本色道久久综合亚洲91| 国产精品久久精品日日| 岛国精品在线观看| 久久久久亚洲蜜桃| 精品一区二区三区免费视频| 欧美伊人久久久久久久久影院 | 国产欧美久久久精品影院| 免费不卡在线视频| 国产欧美日韩三级| 国产综合色视频| 久久综合色8888| 国产精品一级片在线观看| 欧美不卡一区二区|