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

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

?? ansistring.c

?? vxwork源代碼
?? 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| 综合久久一区二区三区| 久88久久88久久久| 欧美精品精品一区| 亚洲免费大片在线观看| 成人午夜精品在线| 精品国产免费人成电影在线观看四季 | av中文字幕不卡| 日韩精品在线一区| 亚洲国产美国国产综合一区二区| 成人99免费视频| 国产人妖乱国产精品人妖| 裸体健美xxxx欧美裸体表演| 欧美综合一区二区| 亚洲激情自拍偷拍| 91蜜桃视频在线| 国产精品国产a| 粗大黑人巨茎大战欧美成人| 国产午夜精品一区二区三区视频| 韩国理伦片一区二区三区在线播放| 91精品国产综合久久精品性色| 午夜国产精品一区| 69久久99精品久久久久婷婷| 亚洲777理论| 欧美精品第一页| 丝袜亚洲精品中文字幕一区| 欧美亚洲国产一区在线观看网站| 亚洲男人电影天堂| 在线免费不卡电影| 亚洲国产精品久久艾草纯爱| 欧美日韩一区二区三区在线 | 欧美乱妇20p| 五月婷婷色综合| 欧美绝品在线观看成人午夜影视| 亚洲国产另类av| 日韩一区二区三区在线观看| 美女国产一区二区三区| 26uuu国产一区二区三区| 国内成人免费视频| 中文字幕一区免费在线观看| 91在线观看高清| 午夜电影一区二区三区| 日韩精品一区二区三区视频播放| 精品亚洲欧美一区| 国产精品―色哟哟| 色综合网色综合| 亚洲一区二区三区四区在线| 欧美一区二视频| 国产在线精品一区二区不卡了| 欧美国产丝袜视频| 日本高清不卡在线观看| 天堂va蜜桃一区二区三区 | 国产一区欧美一区| 1024成人网色www| 欧美日韩国产精选| 国产一区二区免费看| 亚洲免费色视频| 日韩欧美在线1卡| 成人黄色av网站在线| 亚洲国产一区二区视频| 久久丝袜美腿综合| 色国产精品一区在线观看| 日本成人在线不卡视频| 国产精品电影一区二区三区| 91精品在线一区二区| 成人黄色电影在线| 久久精品免费看| 一区二区视频在线| 久久综合视频网| 精品视频全国免费看| 岛国一区二区三区| 日韩av在线发布| 亚洲乱码精品一二三四区日韩在线| 日韩欧美电影一区| 欧洲日韩一区二区三区| 国产黄人亚洲片| 蜜桃久久久久久久| 亚洲永久免费av| 日本一二三不卡| 欧美白人最猛性xxxxx69交| 在线观看欧美黄色| 9人人澡人人爽人人精品| 麻豆久久一区二区| 亚洲第一会所有码转帖| 亚洲日本在线a| 久久久久久久综合| 精品国产乱码久久久久久免费| 日本高清不卡aⅴ免费网站| 国产成人午夜片在线观看高清观看| 天天操天天综合网| 亚洲福中文字幕伊人影院| 日韩一区在线免费观看| 国产日韩v精品一区二区| 精品国产一二三区| 欧美一级在线免费| 欧美一区二区三区免费视频| 在线观看一区不卡| 91日韩在线专区| 不卡视频在线看| 不卡的av在线播放| 成人黄色电影在线| 成人久久久精品乱码一区二区三区| 国产一区二区不卡在线| 狠狠色综合日日| 久草中文综合在线| 蜜臀va亚洲va欧美va天堂| 日韩不卡一二三区| 青青草国产成人99久久| 三级久久三级久久久| 日韩精品色哟哟| 日本中文字幕一区二区视频| 日本不卡在线视频| 六月丁香婷婷色狠狠久久| 日本亚洲欧美天堂免费| 麻豆精品在线观看| 国产精品自拍av| 国产成人免费高清| 成人黄色电影在线| 在线观看视频一区二区欧美日韩| 在线亚洲免费视频| 欧美精品在线视频| 精品国产麻豆免费人成网站| 久久日韩粉嫩一区二区三区| 久久久精品欧美丰满| 亚洲欧洲精品成人久久奇米网| 日韩码欧中文字| 首页欧美精品中文字幕| 精品一区二区在线播放| 成人性生交大片免费看视频在线| 99久久综合精品| 欧美一a一片一级一片| 日韩免费性生活视频播放| 国产午夜亚洲精品午夜鲁丝片| 国产精品二三区| 性久久久久久久久| 国产精品一区二区在线观看网站| 99精品久久久久久| 欧美日韩二区三区| 国产亚洲1区2区3区| 一区二区三区四区不卡在线| 日韩av电影免费观看高清完整版| 国产一区二区视频在线| 色综合久久综合网97色综合 | 午夜成人免费视频| 国产九色精品成人porny| 一本一本久久a久久精品综合麻豆| 欧美日韩三级视频| 国产视频一区在线观看| 亚洲一区免费视频| 国产成人aaa| 欧美视频中文一区二区三区在线观看| 欧美成人艳星乳罩| 亚洲最色的网站| 国产剧情一区二区三区| 欧美日韩精品一区二区| 中文字幕免费观看一区| 亚洲成人av在线电影| 成人av网站在线观看免费| 日韩精品中文字幕在线一区| 一二三四区精品视频| 国产乱一区二区| 欧美一级精品在线| 男女男精品视频| 一本一道波多野结衣一区二区| 26uuu国产电影一区二区| 亚洲自拍偷拍麻豆| www.亚洲国产| 欧美成人精品高清在线播放| 有码一区二区三区| 成人精品gif动图一区| 精品国产免费人成电影在线观看四季| 亚洲自拍偷拍九九九| 99精品视频一区二区三区| 亚洲精品一线二线三线无人区| 国产一区二区三区免费在线观看| 欧洲亚洲精品在线| 中文字幕一区不卡| 丁香桃色午夜亚洲一区二区三区| 日韩免费观看2025年上映的电影 | 国产在线观看免费一区| 69av一区二区三区| 亚洲电影一级黄| 欧美性大战久久久久久久| 国产精品久久夜| 国产福利91精品一区二区三区| 日韩视频免费直播| 日韩av电影免费观看高清完整版 | 国产午夜精品久久| 狠狠狠色丁香婷婷综合激情| 91精品国产综合久久小美女| 亚洲小说春色综合另类电影| 不卡视频在线看| 国产精品久久三| 99久久99久久精品免费看蜜桃| 国产精品素人视频| 高清不卡一区二区| 国产精品欧美久久久久无广告| 国产精品1区2区|