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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ansistring.c

?? VxWorks BSP框架源代碼包含頭文件和驅(qū)動(dòng)
?? C
?? 第 1 頁 / 共 3 頁
字號(hào):
    {    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--------------------

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91原创在线视频| 亚洲国产成人一区二区三区| 欧美日韩在线播放| 欧美日韩亚洲综合| 欧美视频在线播放| 欧美日韩国产首页| 欧美群妇大交群的观看方式| 91精品国产综合久久久久久久| 91久久精品一区二区三| 欧洲精品一区二区| 欧美人牲a欧美精品| 亚洲免费观看高清完整版在线观看熊| 亚洲欧洲性图库| 亚洲一线二线三线视频| 午夜激情久久久| 免费观看在线色综合| 国内精品伊人久久久久av一坑| 国产综合久久久久影院| 成人免费毛片嘿嘿连载视频| 99精品欧美一区二区三区小说| 91丨porny丨国产入口| 欧美色图天堂网| 欧美一区二区三区在线视频| 精品国产免费久久| 国产精品久久久久久久久免费丝袜 | 免费成人小视频| 国产综合一区二区| 99久久99久久精品免费看蜜桃| 色婷婷精品大在线视频 | 国产丝袜在线精品| 亚洲欧美在线视频| 偷拍亚洲欧洲综合| 国产一区二区主播在线| 成人免费毛片片v| 欧美色老头old∨ideo| 欧美一区二区在线不卡| 国产女人水真多18毛片18精品视频| 国产精品成人一区二区三区夜夜夜| 亚洲一区二区偷拍精品| 久久国产精品色| 99国产精品视频免费观看| 欧美日韩国产首页| 国产精品网站在线观看| 亚洲国产一区视频| 国产剧情一区二区三区| 色域天天综合网| 日韩精品一区二区在线| 亚洲视频一区在线| 看片网站欧美日韩| 色综合天天性综合| 欧美精品一区二区高清在线观看| 亚洲欧美怡红院| 另类中文字幕网| 色呦呦国产精品| 久久综合av免费| 亚洲一区免费观看| 国产成人在线网站| 91精品国产高清一区二区三区| 国产综合久久久久影院| 在线日韩一区二区| 日本一区二区三区免费乱视频| 性做久久久久久免费观看 | 91精品国产综合久久精品图片| 国产调教视频一区| 日本三级亚洲精品| 色狠狠色噜噜噜综合网| 欧美极品美女视频| 蜜臀av性久久久久蜜臀av麻豆| 色欲综合视频天天天| 中文字幕第一区第二区| 久久精品国产精品亚洲红杏| 欧美在线看片a免费观看| 欧美高清在线精品一区| 久久爱www久久做| 欧美日韩国产大片| 一区二区在线观看视频在线观看| 国产一区二区久久| 911精品国产一区二区在线| 亚洲美女精品一区| 成人app网站| 国产亚洲欧美激情| 免费的国产精品| 欧美电影一区二区| 亚洲国产乱码最新视频 | 久久综合国产精品| 免费看黄色91| 制服丝袜亚洲网站| 亚洲一区二区三区四区五区中文 | 国产一区在线精品| 日韩片之四级片| 免费看欧美美女黄的网站| 欧美精选午夜久久久乱码6080| 亚洲激情男女视频| 91亚洲国产成人精品一区二三| 国产欧美精品区一区二区三区 | 欧美一区二区私人影院日本| 亚洲一区免费观看| 在线免费视频一区二区| 亚洲欧美日韩中文播放| av电影天堂一区二区在线| 国产乱码一区二区三区| 欧美v亚洲v综合ⅴ国产v| 久久精品国产色蜜蜜麻豆| 日韩三级在线观看| 久久精品国产免费| 久久久久久久av麻豆果冻| 国产另类ts人妖一区二区| 国产无人区一区二区三区| 国产福利不卡视频| 国产精品天干天干在观线| 成人精品视频.| 亚洲色大成网站www久久九九| 91女人视频在线观看| 亚洲在线视频一区| 欧美日韩电影在线播放| 人人精品人人爱| 精品久久一区二区| 国产麻豆精品久久一二三| 日本一区二区三区dvd视频在线| 成人免费毛片a| 亚洲美女在线一区| 欧美日韩高清一区二区不卡| 免费欧美高清视频| 国产亚洲精品aa| 成人高清视频在线| 亚洲免费观看视频| 欧美一区二区网站| 国模冰冰炮一区二区| 亚洲欧洲av色图| 欧美日韩美少妇| 国内精品久久久久影院一蜜桃| 中文字幕av免费专区久久| 在线观看日产精品| 久久精品久久99精品久久| 国产a视频精品免费观看| 国产精品久久久久久久久久免费看| 91热门视频在线观看| 日日嗨av一区二区三区四区| 久久综合给合久久狠狠狠97色69| 不卡一二三区首页| 无吗不卡中文字幕| 久久久久久97三级| 在线视频你懂得一区二区三区| 麻豆传媒一区二区三区| 国产精品毛片高清在线完整版| 欧美日韩亚洲不卡| 国产九九视频一区二区三区| 一区二区三区在线免费视频 | 日韩高清不卡一区| 中文字幕免费不卡| 欧美日韩在线播放| 粉嫩欧美一区二区三区高清影视| 亚洲精品欧美激情| 精品国产乱码久久久久久1区2区 | 亚洲欧美一区二区视频| 日韩一级片在线观看| 99久久精品费精品国产一区二区| 日本成人在线网站| 自拍偷在线精品自拍偷无码专区 | 亚洲国产精品精华液网站| 久久一区二区视频| 欧美性欧美巨大黑白大战| 国产伦精品一区二区三区免费迷 | 国产曰批免费观看久久久| 亚洲三级在线看| 久久久久久久综合色一本| 欧美日韩免费一区二区三区| 成人深夜在线观看| 日韩激情在线观看| 一区二区三区资源| 国产色综合久久| 日韩欧美久久一区| 欧美视频一区二| gogo大胆日本视频一区| 国产在线不卡视频| 日本中文字幕一区二区视频| 亚洲美女视频一区| 欧美国产一区二区| 精品卡一卡二卡三卡四在线| 在线免费亚洲电影| 9i在线看片成人免费| 国产精品资源在线看| 免费在线观看成人| 午夜精品在线看| 亚洲激情成人在线| 椎名由奈av一区二区三区| 久久久久久久综合色一本| 欧美一级搡bbbb搡bbbb| 欧美日韩一区二区三区免费看| 不卡的电视剧免费网站有什么| 国产一区二区福利视频| 蜜臀av一级做a爰片久久| 午夜视频一区在线观看| 亚洲一区免费在线观看| 国产欧美日韩在线视频| 91精品国产手机| 日韩视频不卡中文| 日韩欧美色电影| 精品福利在线导航| 欧美va亚洲va在线观看蝴蝶网|