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

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

?? ansistring.c

?? This is a source code of VxWorks
?? C
?? 第 1 頁 / 共 3 頁
字號(hào):
/* 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 */    )

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一级久久久久久久大片| 欧美精品一区二区三区一线天视频 | 欧美乱妇20p| 国产激情精品久久久第一区二区 | 亚洲精品欧美激情| 精品福利一区二区三区免费视频| 91社区在线播放| 国产乱子轮精品视频| 午夜精品免费在线| 最新中文字幕一区二区三区| 欧美不卡一区二区三区四区| 欧美色爱综合网| 91色.com| 高清在线不卡av| 国内久久精品视频| 日韩经典一区二区| 一区二区三区小说| 国产精品传媒入口麻豆| 久久蜜桃香蕉精品一区二区三区| 91超碰这里只有精品国产| 99久久伊人精品| 国产精品中文字幕一区二区三区| 蜜桃av噜噜一区二区三区小说| 亚洲综合网站在线观看| 1000精品久久久久久久久| 久久九九久久九九| 欧美大片一区二区| 欧美精品少妇一区二区三区| 欧美视频完全免费看| 91久久国产最好的精华液| aaa欧美日韩| 成人午夜视频网站| 风间由美中文字幕在线看视频国产欧美| 狂野欧美性猛交blacked| 男男gaygay亚洲| 日本视频中文字幕一区二区三区| 亚洲va欧美va人人爽| 亚洲福利一二三区| 亚洲成a人v欧美综合天堂| 亚洲一区av在线| 香蕉乱码成人久久天堂爱免费| 一区二区三区欧美久久| 亚洲黄色片在线观看| 综合激情成人伊人| 亚洲色欲色欲www| 一级特黄大欧美久久久| 亚洲一区在线视频| 午夜欧美大尺度福利影院在线看| 亚洲超丰满肉感bbw| 99re在线视频这里只有精品| 成人免费黄色在线| 91在线国内视频| 91高清视频在线| 欧美精品丝袜中出| 精品国产亚洲在线| 国产精品伦一区| 亚洲青青青在线视频| 亚洲影院理伦片| 麻豆精品在线播放| 国产在线精品视频| www.亚洲精品| 欧美性生活久久| 日韩一区二区三区四区五区六区| 精品日产卡一卡二卡麻豆| 国产女人18毛片水真多成人如厕| 中文字幕一区二区三中文字幕| 一区二区三区在线视频播放| 午夜私人影院久久久久| 激情深爱一区二区| 99久久精品国产导航| 欧美日韩一区三区| 亚洲精品在线免费观看视频| 亚洲婷婷综合久久一本伊一区 | 国内精品久久久久影院色| 成人在线视频一区| 欧美三级乱人伦电影| 欧美电影免费提供在线观看| 国产精品福利电影一区二区三区四区| 亚洲女人****多毛耸耸8| 日韩成人伦理电影在线观看| 国产精品自产自拍| 欧美亚洲综合网| 欧美精品一区二区三区视频| 亚洲日本电影在线| 精品一区二区三区不卡| 色综合久久久久久久久久久| 欧美大肚乱孕交hd孕妇| 亚洲欧美一区二区三区孕妇| 美女视频黄 久久| 99久久er热在这里只有精品66| 欧美电影影音先锋| 国产精品乱码一区二区三区软件| 亚洲成人av在线电影| 成人美女在线视频| 日韩精品一区二区三区四区视频| 自拍偷拍国产亚洲| 精品一区二区三区免费观看| 91成人看片片| 欧美国产日韩亚洲一区| 欧美aaaaaa午夜精品| 在线观看一区不卡| 国产精品―色哟哟| 精品一区二区三区免费| 欧美三级中文字| 1024国产精品| 国产毛片精品一区| 欧美一区二区啪啪| 亚洲欧美日韩国产中文在线| 欧美丰满高潮xxxx喷水动漫| 一区二区三区中文免费| 国产a视频精品免费观看| 欧美第一区第二区| 日韩国产精品久久久| 欧亚洲嫩模精品一区三区| 中文字幕视频一区| 成人性生交大片免费看中文网站 | 亚洲精品ww久久久久久p站| 国产麻豆精品95视频| 日韩视频永久免费| 亚洲成av人片在www色猫咪| 色欧美88888久久久久久影院| 国产精品福利在线播放| 国产一区欧美一区| 26uuu欧美| 久久精品99久久久| 日韩美女在线视频 | 麻豆成人91精品二区三区| 777xxx欧美| 丝袜美腿亚洲综合| 91精品国产高清一区二区三区蜜臀| 一区二区三区精品在线观看| 色综合中文综合网| 欧美一区二区日韩一区二区| 亚洲成人先锋电影| 欧美在线不卡一区| 亚洲一区二区三区国产| 欧美日韩一区二区三区高清| 亚洲超丰满肉感bbw| 欧美日韩国产高清一区| 亚洲成人av中文| 91精品国产一区二区三区蜜臀| 日韩精品乱码av一区二区| 91精品欧美福利在线观看| 青青草原综合久久大伊人精品| 日韩一区二区三区av| 精品一区二区三区免费毛片爱| 久久久噜噜噜久久中文字幕色伊伊| 国产麻豆视频一区| 国产精品乱人伦| 在线视频一区二区免费| 亚洲大型综合色站| 91精品国产综合久久精品麻豆| 免费人成黄页网站在线一区二区 | 有码一区二区三区| 欧美丰满一区二区免费视频| 久久国产婷婷国产香蕉| 国产日韩成人精品| 色婷婷精品久久二区二区蜜臂av | 精品久久久久久久久久久久久久久| 国产一区美女在线| 国产精品国产三级国产aⅴ入口| 99免费精品在线| 亚洲国产精品天堂| 欧美大片拔萝卜| 欧美不卡视频一区| 99久久婷婷国产综合精品| 亚洲国产va精品久久久不卡综合| 欧美精品国产精品| 国产成人精品免费| 亚洲精品高清在线观看| 日韩一区二区三区四区五区六区 | 日韩视频在线你懂得| 国产ts人妖一区二区| 亚洲综合丁香婷婷六月香| 日韩免费观看高清完整版在线观看| 成人精品电影在线观看| 亚洲一区二区三区中文字幕在线| 欧美mv日韩mv| 色综合久久综合网欧美综合网 | 中文字幕第一区二区| 欧美性欧美巨大黑白大战| 狠狠色伊人亚洲综合成人| 亚洲日本va在线观看| 精品少妇一区二区三区在线播放| 99精品国产91久久久久久 | 九色porny丨国产精品| 国产精品黄色在线观看| 欧美美女一区二区在线观看| 国产ts人妖一区二区| 日韩av网站免费在线| 亚洲天天做日日做天天谢日日欢| 日韩欧美综合一区| 色哟哟精品一区| 国产激情偷乱视频一区二区三区| 视频一区二区三区入口| ●精品国产综合乱码久久久久| 日韩精品中文字幕一区 | 666欧美在线视频| 色一情一乱一乱一91av| 国产酒店精品激情|