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

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

?? ansistring.c

?? vxworks的完整的源代碼
?? C
?? 第 1 頁 / 共 3 頁
字號:
/* ansiString.c - ANSI `string' documentation *//* Copyright 1992-1995 Wind River Systems, Inc. *//*modification history--------------------01f,11jul97,dgp  doc: SPR 7651 need list of non-reentrant functions01e,23oct95,jdi  doc: incorporated changes for strtok() & strtok_r() (SPR 4874).01d,11feb95,jdi  fixed size parameter name in doc for memset().01c,25feb93,jdi  documentation cleanup for 5.1.01b,30nov92,jdi  fixed doc for strerror() - SPR 1825.01a,24oct92,smb  written*//*DESCRIPTIONThis library includes several standard ANSI routines.  Note that wherethere is a pair of routines, such as div() and div_r(), only the routinexxx_r() is reentrant.  The xxx() routine is not reentrant. The header string.h declares one type and several functions, and defines onemacro useful for manipulating arrays of character type and other objectstreated as array of character type.  The type is `size_t' and the macro NULL.Various methods are used for determining the lengths of the arrays, but inall cases a `char *' or `void *' argument points to the initial (lowestaddressed) character of the array.  If an array is accessed beyond the endof an object, the behavior is undefined.SEE ALSO: American National Standard X3.159-1989INTERNALThis documentation module is built by appending the following files:    memchr.c    memcmp.c    memcpy.c    memmove.c    memset.c    strcat.c    strchr.c    strcmp.c    strcoll.c    strcpy.c    strcspn.c    strerror.c    strlen.c    strncat.c    strncmp.c    strncpy.c    strpbrk.c    strrchr.c    strspn.c    strstr.c    strtok.c    strtok_r.c    strxfrm.c*//* memchr.c - search memory for a 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"/********************************************************************************* memchr - search a block of memory for a character (ANSI)** This routine searches for the first element of an array of `unsigned char',* beginning at the address <m> with size <n>, that equals <c> converted to* an `unsigned char'.** INCLUDE FILES: string.h** RETURNS: If successful, it returns the address of the matching element;* otherwise, it returns a null pointer.*/void * memchr    (    const void * m,		/* block of memory */    int 	 c,		/* character to search for */    size_t 	 n		/* size of memory to search */    )    {    uchar_t *p = (uchar_t *) CHAR_FROM_CONST(m);    if (n != 0)	do 	    {	    if (*p++ == (unsigned char) c)		return (VOID_FROM_CONST(p - 1));	    } while (--n != 0);    return (NULL);    }/* memcmp.c - memory compare 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 FILE: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/********************************************************************************* memcmp - compare two blocks of memory (ANSI)** This routine compares successive elements from two arrays of `unsigned char',* beginning at the addresses <s1> and <s2> (both of size <n>), until it finds* elements that are not equal.** INCLUDE FILES: string.h** RETURNS:* If all elements are equal, zero.  If elements differ and the differing* element from <s1> is greater than the element from <s2>, the routine* returns a positive number; otherwise, it returns a negative number.*/int memcmp    (    const void * s1,		/* array 1 */    const void * s2,		/* array 2 */    size_t       n		/* size of memory to compare */    )    {    const unsigned char *p1;    const unsigned char *p2;    /* size of memory is zero */    if (n == 0)	return (0);    /* compare array 2 into array 1 */    p1 = s1;    p2 = s2;    while (*p1++ == *p2++)	{	if (--n == 0)	    return (0);        }    return ((*--p1) - (*--p2));    }/* memcpy.c - memory copy file for string *//* Copyright 1992-1993 Wind River Systems, Inc. *//*modification history--------------------01g,25feb93,jdi  documentation cleanup for 5.1.01f,20sep92,smb  documentation additions01e,14sep92,smb  memcpy again uses bcopy01d,07sep92,smb  changed so that memcpy is seperate from bcopy.01c,30jul92,smb  changed to use bcopy.01b,12jul92,smb  changed post decrements to pre decrements.01a,08jul92,smb  written and documented.           +rrr*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/********************************************************************************* memcpy - copy memory from one location to another (ANSI)** This routine copies <size> characters from the object pointed* to by <source> into the object pointed to by <destination>. If copying* takes place between objects that overlap, the behavior is undefined.** INCLUDE FILES: string.h** RETURNS: A pointer to <destination>.*/void * memcpy    (    void *       destination,   /* destination of copy */    const void * source,        /* source of copy */    size_t       size           /* size of memory to copy */    )    {    bcopy ((char *) source, (char *) destination, (size_t) size);    return (destination);    }/* memmove.c - memory move 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"/********************************************************************************* memmove - copy memory from one location to another (ANSI)** This routine copies <size> characters from the memory location <source> to* the location <destination>.  It ensures that the memory is not corrupted* even if <source> and <destination> overlap.** INCLUDE FILES: string.h** RETURNS: A pointer to <destination>.*/void * memmove    (    void *	 destination,	/* destination of copy */    const void * source,	/* source of copy */    size_t 	 size		/* size of memory to copy */    )    {    char *	dest;    const char *src;    dest = destination;    src = source;    if ((src < dest) && (dest < (src + size)))	{	for (dest += size, src += size; size > 0; --size)	    *--dest = *--src;        }    else 	{	while (size > 0)	    {	    size--;	    *dest++ = *src++;	    }        }    return (destination);    }/* memset.c - set a block of memory, string *//* Copyright 1992-1995 Wind River Systems, Inc. *//*modification history--------------------01g,11feb95,jdi  fixed size parameter name in doc.01f,25feb93,jdi  documentation cleanup for 5.1.01e,20sep92,smb  documentation additions01d,14sep92,smb  changes back to use bfill.01c,07sep92,smb  changed so that memset is seperate from bfill01b,30jul92,smb  changes to use bfill.01a,08jul92,smb  written and documented.           +rrr*//*DESCRIPTIONINCLUDE FILES: string.hSEE ALSO: American National Standard X3.159-1989NOMANUAL*/#include "vxWorks.h"#include "string.h"/********************************************************************************* memset - set a block of memory (ANSI)** This routine stores <c> converted to an `unsigned char' in each of the* elements of the array of `unsigned char' beginning at <m>, with size <size>.** INCLUDE FILES: string.h** RETURNS: A pointer to <m>.*/void * memset    (    void * m,                   /* block of memory */    int    c,                   /* character to store */    size_t size                 /* size of memory */    )    {    bfill ((char *) m, (int) size, c);    return (m);    }/* strcat.c - concatenate one string to another, 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"/********************************************************************************* strcat - concatenate one string to another (ANSI)** This routine appends a copy of string <append> to the end of string * <destination>.  The resulting string is null-terminated.** INCLUDE FILES: string.h** RETURNS: A pointer to <destination>.*/char * strcat    (    char *       destination, /* string to be appended to */    const char * append       /* string to append to <destination> */    )    {    char *save = destination;    while (*destination++ != '\0')		/* find end of string */        ;    destination--;    while ((*destination++ = *append++) != '\0')	;    return (save);    }/* strchr.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"/******************************************************************************** strchr - find the first occurrence of a character in a string (ANSI)** This routine finds the first occurrence of character <c>* in string <s>.  The terminating null is considered to be part of the string.** INCLUDE FILES: string.h** RETURNS:* The address of the located character, or NULL if the character is not found.*/char * strchr    (    const char * s,         /* string in which to search */    int 	 c          /* character to find in string */    )    {    char *r = CHAR_FROM_CONST(s);     while (*r != (char) c)		/* search loop */	{	if (*r++ == EOS)		/* end of string */	    return (NULL);        }    return (r);    }/* strcmp.c - compare two strings, 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"/********************************************************************************* strcmp - compare two strings lexicographically (ANSI)** This routine compares 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 strcmp    (    const char * s1,   /* string to compare */    const char * s2    /* string to compare <s1> to */    )    {    while (*s1++ == *s2++)	if (s1 [-1] == EOS)	    return (0);    return ((s1 [-1]) - (s2 [-1]));    }/* strcoll.c - string collate, 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 "private/strxfrmP.h"/* The __sctl type describes a data object that holds the information  * needed to process each source string. The internal function getxfrm * calls __strxfrm to update an sctl data object. */typedef struct     {    char 	   buf[32];    const uchar_t *s1;    const uchar_t *s2;    const uchar_t *sout;    __cosave       state;    } __sct1;/***************************************************************************** getxfrm - get transformed characters** A conparison loop within strcoll calls getxfrm for each source string that* has no mapped characters in its sctl buffer. This ensures that each source* string is represented by at least one mapped character, if any such* character remains to be generated.** RETURNS: the size of the transformed string* NOMANUAL*/LOCAL size_t getxfrm    (    __sct1 *p	/* information needed to process each source string */    )

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久精品一二三| 日韩视频免费观看高清完整版在线观看 | 欧美激情一区二区在线| 欧美一级xxx| 欧美久久久久久久久| 欧美日韩免费不卡视频一区二区三区| 色哟哟一区二区在线观看| 成人av在线网站| 成人免费观看视频| 91原创在线视频| 91成人网在线| 欧美日本在线播放| 日韩欧美国产综合| 国产精品蜜臀av| 欧美国产日韩在线观看| 国产精品另类一区| 成人免费在线视频| 一区二区激情视频| 天天操天天色综合| 日本最新不卡在线| 国产精品911| 色婷婷综合激情| 7777精品伊人久久久大香线蕉 | 在线观看成人小视频| 欧美日本一区二区三区四区| 69堂国产成人免费视频| 精品裸体舞一区二区三区| 亚洲精品在线三区| 亚洲视频一区二区在线| 日本午夜一本久久久综合| 国产精品资源网站| 色欧美片视频在线观看| 日韩一区二区三区视频| 国产精品久久久久久久久免费相片| 亚洲男人天堂av网| 精品午夜久久福利影院| 99九九99九九九视频精品| 欧美视频一区二| 久久精品一二三| 婷婷久久综合九色综合绿巨人 | 国产在线不卡一卡二卡三卡四卡| 99精品国产热久久91蜜凸| 欧美一区三区四区| 国产精品国产三级国产aⅴ原创 | 国产偷国产偷精品高清尤物| 亚洲一区二区三区四区在线 | 日本高清不卡视频| 欧美精品一区男女天堂| 亚洲午夜成aⅴ人片| 国产精品一区三区| 欧美精品1区2区| 亚洲欧美日韩在线| 国产曰批免费观看久久久| 欧美性三三影院| 国产精品久久久久一区二区三区| 久久精品二区亚洲w码| 欧美无砖砖区免费| 国产精品久久久一本精品| 精品影院一区二区久久久| 欧美私人免费视频| 亚洲视频一区二区在线| 成人av网在线| 国产日韩欧美a| 国产精品夜夜爽| 欧美成人欧美edvon| 日韩精品欧美成人高清一区二区| 91小视频免费观看| 国产精品伦一区二区三级视频| 国产麻豆精品在线| 久久久精品蜜桃| 国产一区二区看久久| 欧美精品一区二区久久久| 日本亚洲三级在线| 欧美精品久久久久久久多人混战 | 久久影视一区二区| 免费观看在线色综合| 91精品国产综合久久国产大片| 亚洲国产视频一区二区| 欧美在线免费视屏| 亚洲成在线观看| 6080yy午夜一二三区久久| 丝袜a∨在线一区二区三区不卡| 在线观看国产日韩| 午夜精品在线看| 欧美一区二区三区在线观看| 亚洲成人福利片| 欧美一区日韩一区| 久久精品免费观看| 久久久天堂av| 本田岬高潮一区二区三区| 中文字幕制服丝袜一区二区三区| 91在线无精精品入口| 夜夜嗨av一区二区三区中文字幕| 欧美视频一区在线| 麻豆精品在线观看| 国产欧美一区二区三区在线看蜜臀 | 久久久精品tv| 91麻豆国产福利精品| 亚洲一区二区精品视频| 91精品国产综合久久久久久漫画| 毛片一区二区三区| 日本一区二区三区在线观看| 99精品久久99久久久久| 天天综合色天天综合色h| 日韩欧美久久一区| 成人性生交大片免费| 亚洲成国产人片在线观看| 日韩一区二区不卡| 成人性生交大片免费看中文网站| 亚洲韩国一区二区三区| 2欧美一区二区三区在线观看视频| 成人黄色av网站在线| 亚洲二区视频在线| 久久久久久**毛片大全| 欧美偷拍一区二区| 国产剧情一区二区| 午夜精品久久久久久久久久| 亚洲国产精华液网站w| 69av一区二区三区| 99国产精品国产精品毛片| 青青草原综合久久大伊人精品| 国产精品久久久久永久免费观看 | 亚洲视频一区在线| www久久精品| 欧美女孩性生活视频| 国产成人av福利| 免费成人av在线| 亚洲综合一二区| 国产精品免费人成网站| 欧美xfplay| 欧美酷刑日本凌虐凌虐| 99视频有精品| 国产成人h网站| 国产精品一区在线观看你懂的| 日韩二区三区四区| 亚洲一区日韩精品中文字幕| 中文字幕一区二区三区视频| 久久久久久综合| 精品国产sm最大网站免费看 | 麻豆国产精品一区二区三区| 亚洲午夜久久久| 亚洲综合一区二区精品导航| 成人欧美一区二区三区视频网页| 国产丝袜欧美中文另类| www国产亚洲精品久久麻豆| 日韩一级高清毛片| 在线综合视频播放| 欧美性欧美巨大黑白大战| 91国产福利在线| 91麻豆成人久久精品二区三区| 不卡av在线网| av成人免费在线| av在线播放一区二区三区| av电影在线观看一区| 91婷婷韩国欧美一区二区| 91亚洲精品乱码久久久久久蜜桃| 成人黄动漫网站免费app| 国产v综合v亚洲欧| 国产传媒欧美日韩成人| 波多野结衣亚洲一区| 91理论电影在线观看| 在线免费观看视频一区| 欧美视频一区二区三区四区| 91 com成人网| 欧美一级搡bbbb搡bbbb| 精品日韩在线观看| 国产亚洲精品aa| 亚洲乱码日产精品bd| 亚洲.国产.中文慕字在线| 婷婷成人激情在线网| 久久精品国产99| 99精品视频一区| 欧美午夜精品理论片a级按摩| 日韩视频免费观看高清在线视频| 久久久影视传媒| 亚洲天堂av一区| 日日摸夜夜添夜夜添亚洲女人| 九色综合狠狠综合久久| 成人在线视频一区| 在线观看亚洲a| 久久天天做天天爱综合色| 亚洲品质自拍视频| 青青草一区二区三区| 99久久国产综合精品色伊| 制服丝袜国产精品| 欧美高清在线一区二区| 亚洲www啪成人一区二区麻豆| 国产麻豆精品95视频| 在线观看亚洲成人| 久久精品人人做人人综合| 亚洲综合精品久久| 国产麻豆精品在线| 欧美日韩黄视频| 国产精品久久久久久久久免费丝袜| 亚洲美女少妇撒尿| 国产乱人伦偷精品视频免下载 | 久久综合久色欧美综合狠狠| 一区二区三区日本| 国产九色精品成人porny| 欧美日韩一区国产|