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

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

?? ansistring.c

?? This is a source code of VxWorks
?? 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网站| 亚洲欧美日本在线| 中文字幕欧美一| 亚洲自拍偷拍欧美| 午夜在线电影亚洲一区| 日本中文字幕一区| 国产成人亚洲综合色影视 | 精品蜜桃在线看| 国产精品天天摸av网| 一区二区三区四区在线播放| 日本伊人精品一区二区三区观看方式 | 国产精品88av| 91久久精品一区二区三区| 欧美高清视频一二三区| 久久午夜老司机| 一区二区三区四区不卡在线 | 欧美大片免费久久精品三p| 中文字幕欧美国产| 天堂va蜜桃一区二区三区| 国产大片一区二区| 欧美日韩国产首页| 国产欧美日韩在线| 亚洲高清不卡在线观看| 国产福利一区在线| 欧美日韩电影一区| 国产精品久久久久久久久免费相片 | 东方欧美亚洲色图在线| 欧美亚洲愉拍一区二区| 久久精品视频网| 亚洲bt欧美bt精品| 99精品热视频| 精品国产伦一区二区三区观看体验| 日韩毛片高清在线播放| 久久精品免费观看| 欧美偷拍一区二区| 国产天堂亚洲国产碰碰| 日本aⅴ免费视频一区二区三区| 成人午夜又粗又硬又大| 欧美一区二区啪啪| 亚洲影视资源网| 成人av网址在线| 精品福利av导航| 亚洲va欧美va国产va天堂影院| av成人动漫在线观看| 精品动漫一区二区三区在线观看| 亚洲成人在线免费| 色久综合一二码| 中文久久乱码一区二区| 久久99在线观看| 欧美老肥妇做.爰bbww| 亚洲免费大片在线观看| 丁香激情综合五月| 欧美精品一区二区三区一线天视频| 亚洲午夜久久久久| 97精品超碰一区二区三区| 中文字幕欧美日本乱码一线二线| 经典三级在线一区| 91精品国产综合久久蜜臀| 亚洲一二三区在线观看| 91影视在线播放| 国产日韩欧美综合一区| 久久99久久99| 日韩视频一区二区三区在线播放| 一区二区三区在线免费视频| a美女胸又www黄视频久久| 国产婷婷色一区二区三区四区 | 国产成+人+日韩+欧美+亚洲| 99久久777色| 欧美videossexotv100| 午夜一区二区三区视频| 一本久久综合亚洲鲁鲁五月天| 亚洲人被黑人高潮完整版| 成人性生交大片免费| 国产女主播一区| 不卡av在线免费观看| 国产色综合久久| 岛国一区二区三区| 中文字幕av在线一区二区三区| 国产v综合v亚洲欧| 国产欧美日韩精品a在线观看| 国产黑丝在线一区二区三区| 国产日韩一级二级三级| 成人av在线播放网址| 国产精品久久久久7777按摩| 不卡欧美aaaaa| 18欧美亚洲精品| 欧美做爰猛烈大尺度电影无法无天| 亚洲国产综合在线| 日韩一区二区三区精品视频| 久久99九九99精品| 国产精品美日韩| 色综合久久久久综合| 一区二区三区日本| 欧美一区二区三区色| 欧美一级爆毛片| 首页国产丝袜综合| 日韩精品一区二| 丰满少妇在线播放bd日韩电影| 自拍偷在线精品自拍偷无码专区| 91免费国产在线观看| 亚洲国产精品尤物yw在线观看| 欧美高清dvd| 经典三级视频一区| 国产精品久久久久天堂| 欧美性生活影院| 国产在线视频精品一区| 成人免费在线视频观看| 欧美自拍丝袜亚洲| 蜜臀av一区二区在线免费观看| 久久久久久亚洲综合影院红桃| av中文字幕不卡| 日产欧产美韩系列久久99| 久久久精品综合| 91免费在线看| 久久精品国产精品青草| 国产精品入口麻豆九色| 欧美日韩视频在线一区二区| 日本美女一区二区三区视频| 国产目拍亚洲精品99久久精品| 色婷婷一区二区三区四区| 麻豆成人91精品二区三区| 国产精品久久夜| 欧美日本精品一区二区三区| 国产一区二区精品久久91| 亚洲一区自拍偷拍| 欧美tickling网站挠脚心| av在线播放成人| 久久精品99国产国产精| www日韩大片| 亚洲人成影院在线观看| 91精品在线麻豆| 成人av在线观| 奇米影视一区二区三区| 国产精品久久久久影院老司| 欧美日韩国产不卡| 成人免费视频免费观看| 午夜精品成人在线| 久久久久久久综合日本| 欧美精品乱码久久久久久 | 91精品国产一区二区三区| www.色精品| 精品在线一区二区三区| 亚洲成av人影院| 国产精品高潮久久久久无| 欧美成人vr18sexvr| 在线精品观看国产| 成人听书哪个软件好| 美女高潮久久久| 亚洲国产中文字幕| 国产视频一区在线播放| 欧美一区二区大片| 97成人超碰视| 国产91精品在线观看| 精品一区二区三区av| 图片区小说区区亚洲影院| 亚洲美女在线一区| 国产欧美精品一区二区色综合朱莉 | 亚洲欧洲韩国日本视频| 久久精品视频网| 精品国产人成亚洲区| 欧美一区二区视频免费观看| 日本韩国欧美一区| av电影在线观看不卡| 国产超碰在线一区| 国产伦精品一区二区三区免费 | 久久婷婷久久一区二区三区| 欧美肥妇free| 欧美怡红院视频| 色综合久久综合网欧美综合网| 国产91综合一区在线观看| 韩日精品视频一区| 精久久久久久久久久久| 奇米精品一区二区三区四区| 三级在线观看一区二区 | 欧美aaaaaa午夜精品| 欧美日韩成人一区二区| 国产在线不卡一区| 91精品国产入口| 日本伊人色综合网| 欧美精品一区二区久久婷婷| 另类专区欧美蜜桃臀第一页| 亚洲欧美国产高清| 精品1区2区在线观看| 成人爽a毛片一区二区免费| 国产日韩一级二级三级| 91丨porny丨国产入口| 香蕉久久一区二区不卡无毒影院| 日韩欧美成人激情| 日韩一区二区三| 精品精品国产高清a毛片牛牛 | 椎名由奈av一区二区三区| 国产欧美日韩精品一区| 亚洲黄色在线视频| 精品成a人在线观看| 91麻豆成人久久精品二区三区| 99re免费视频精品全部| 一本色道**综合亚洲精品蜜桃冫| 色婷婷久久久亚洲一区二区三区| 欧美亚洲动漫制服丝袜| 91精品国产91久久久久久最新毛片 |