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

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

?? ansistring.c

?? VxWorks BSP框架源代碼包含頭文件和驅動
?? 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一区二区三区免费野_久草精品视频
久久国产精品一区二区| 久久久噜噜噜久久中文字幕色伊伊| 免费观看91视频大全| 亚洲一区在线视频观看| 综合自拍亚洲综合图不卡区| 久久久综合精品| 精品99久久久久久| 精品国产乱码久久久久久1区2区| 91精品麻豆日日躁夜夜躁| 在线视频观看一区| 欧美制服丝袜第一页| 91女人视频在线观看| 色婷婷综合久色| 91成人在线免费观看| 色女孩综合影院| 欧美亚洲精品一区| 欧美日韩在线三区| 欧美一区二区三区白人| 日韩午夜三级在线| 久久综合999| 国产精品入口麻豆原神| 亚洲精品视频一区| 亚欧色一区w666天堂| 麻豆精品久久久| 成人精品gif动图一区| 色综合色狠狠综合色| 精品视频123区在线观看| 91精品国产91久久综合桃花| 久久亚洲一级片| 亚洲日穴在线视频| 亚洲成av人片在线观看无码| 乱中年女人伦av一区二区| 国产成人午夜精品影院观看视频| eeuss国产一区二区三区| 欧美日韩午夜在线| 欧美精品一区二区三| 国产精品夫妻自拍| 蜜桃视频在线观看一区二区| 国产精品一卡二卡在线观看| 欧美在线观看一二区| 精品久久久久久综合日本欧美| 中文字幕 久热精品 视频在线| 一二三四区精品视频| 国产自产v一区二区三区c| voyeur盗摄精品| 欧美成人三级在线| 一区二区三区在线免费视频| 久久99精品久久久久婷婷| 97se亚洲国产综合自在线不卡 | 丝瓜av网站精品一区二区| 国产一区不卡在线| 欧美视频一区二| 欧美国产禁国产网站cc| 奇米影视7777精品一区二区| 99久久er热在这里只有精品66| 日韩久久久久久| 亚洲专区一二三| 99久久伊人网影院| 欧美tickle裸体挠脚心vk| 亚洲成av人片www| 99re这里都是精品| 日本一区二区电影| 九九九精品视频| 欧美一级免费观看| 性感美女极品91精品| 色综合一个色综合| 国产精品久久久久桃色tv| 国产制服丝袜一区| 精品国精品自拍自在线| 日韩和欧美的一区| 欧美夫妻性生活| 亚洲午夜成aⅴ人片| 在线视频一区二区三区| 亚洲三级小视频| 色噜噜狠狠一区二区三区果冻| 中文字幕一区二区三中文字幕| 丁香一区二区三区| 欧美激情艳妇裸体舞| 国产黄色91视频| 久久综合久久鬼色中文字| 国内精品国产成人国产三级粉色| 欧美一区二区大片| 久久精品国产成人一区二区三区 | 亚洲成人三级小说| 在线免费观看成人短视频| 亚洲图片激情小说| 日本高清成人免费播放| 亚洲综合在线视频| 欧美日韩精品福利| 天堂va蜜桃一区二区三区 | 91精品国产综合久久精品图片| 亚洲综合久久久| 欧美日韩精品三区| 青娱乐精品在线视频| 欧美tickle裸体挠脚心vk| 国产精品2024| 亚洲视频一二三| 欧美在线视频日韩| 欧美bbbbb| 久久久久国产精品人| 不卡的看片网站| 亚洲午夜久久久| 日韩一区二区三区四区| 国产精品一二二区| 亚洲女与黑人做爰| 日韩欧美国产小视频| 国产精品白丝jk黑袜喷水| 亚洲天堂久久久久久久| 91精品在线观看入口| 国产一区二区h| 亚洲一区二区三区爽爽爽爽爽| 91精品国产手机| 成人午夜电影久久影院| 亚洲综合视频网| 久久精品水蜜桃av综合天堂| 91视频91自| 国产一区二区久久| 亚洲一区二区三区美女| 精品福利av导航| 欧美亚洲一区二区在线| 精品一二三四在线| 一区二区三区中文字幕精品精品 | 欧美大黄免费观看| 波多野结衣一区二区三区| 日韩精品午夜视频| 亚洲日本在线a| 91精品蜜臀在线一区尤物| 99国产精品久久久久| 激情图片小说一区| 亚洲小少妇裸体bbw| 欧美国产精品专区| 日韩欧美一区电影| 欧洲国产伦久久久久久久| 国产99精品国产| 免费成人结看片| 一区二区三区四区在线播放| 久久久久久麻豆| 日韩一区二区三区四区| 91精彩视频在线| 欧美日韩黄色一区二区| 粗大黑人巨茎大战欧美成人| 奇米综合一区二区三区精品视频| 一区二区三区精密机械公司| 国产亚洲精久久久久久| 欧美一二三区在线| 欧美精品日韩一本| 欧美群妇大交群中文字幕| 91视频www| 色哟哟欧美精品| 色综合天天综合网国产成人综合天| 国产乱子轮精品视频| 免费xxxx性欧美18vr| 亚洲成av人片一区二区梦乃| 亚洲成人av免费| 亚洲成精国产精品女| 亚洲国产精品视频| 亚洲成人午夜电影| 三级欧美在线一区| 日韩电影免费一区| 日韩影院精彩在线| 丝袜国产日韩另类美女| 五月天久久比比资源色| 婷婷激情综合网| 蜜臀久久99精品久久久画质超高清 | 日韩伦理免费电影| 亚洲精品国产精华液| 亚洲精品亚洲人成人网| 一区二区三区四区视频精品免费 | 天天操天天综合网| 日韩精品三区四区| 麻豆精品视频在线观看视频| 老司机精品视频线观看86| 国内成人免费视频| 成人免费视频播放| 在线观看网站黄不卡| 69久久夜色精品国产69蝌蚪网| 日韩免费观看高清完整版| 久久久影院官网| 亚洲欧美中日韩| 丝袜美腿成人在线| 国产精品99精品久久免费| 99re成人在线| 欧美精品日日鲁夜夜添| 久久婷婷成人综合色| 亚洲精品免费电影| 久久国产婷婷国产香蕉| 成人一区二区三区中文字幕| 日本精品视频一区二区| 日韩一区二区三免费高清| 欧美国产日韩a欧美在线观看| 亚洲激情图片小说视频| 久久精品二区亚洲w码| 91影院在线观看| 91精品国产色综合久久| 国产精品乱人伦中文| 性感美女极品91精品| 国产成人综合在线播放| 欧美日韩精品高清| 中文字幕欧美激情一区| 蜜臀精品一区二区三区在线观看|