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

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

?? ansistring.c

?? vxworks操作系統(tǒng)的源代碼
?? 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一区二区三区免费野_久草精品视频
99国产精品国产精品久久| 精品视频999| 在线观看一区日韩| 久久新电视剧免费观看| 亚洲美女淫视频| 国产酒店精品激情| 欧美一区二区三区不卡| 亚洲人123区| 狠狠色丁香久久婷婷综| 欧美人与性动xxxx| 中文字幕欧美一| 国内成人精品2018免费看| 欧美三区免费完整视频在线观看| 国产清纯美女被跳蛋高潮一区二区久久w| 一区二区三区四区不卡视频| 国产成人综合亚洲网站| 4438成人网| 亚洲激情欧美激情| 91一区一区三区| 国产精品婷婷午夜在线观看| 狠狠色伊人亚洲综合成人| 欧美疯狂做受xxxx富婆| 亚洲最大的成人av| 成人涩涩免费视频| 久久影院视频免费| 卡一卡二国产精品| 日韩一区二区免费在线电影| 视频一区在线视频| 欧美人伦禁忌dvd放荡欲情| 亚洲色欲色欲www| 成人av资源网站| 国产精品久久久久7777按摩| 国产成人免费av在线| 国产欧美一区二区在线观看| 国产成人夜色高潮福利影视| 久久亚洲私人国产精品va媚药| 久久成人免费电影| 国产日韩欧美a| 成人国产免费视频| 亚洲欧洲精品一区二区精品久久久| 高清不卡在线观看| 国产精品毛片久久久久久| 国产ts人妖一区二区| 中文字幕制服丝袜成人av | 在线亚洲一区观看| 亚洲精品一二三| 欧美性受xxxx| 日韩国产一二三区| 久久中文娱乐网| 99国产麻豆精品| 一个色综合av| 欧美一区二区三区在线看| 老汉av免费一区二区三区| 精品国产乱码久久久久久久久| 国产福利91精品一区二区三区| 国产精品久久久久aaaa| 欧美三级视频在线| 精品在线一区二区三区| 中文字幕电影一区| 在线免费观看日本一区| 美国一区二区三区在线播放| 久久在线观看免费| 欧美色老头old∨ideo| 日本aⅴ精品一区二区三区| 久久精品夜色噜噜亚洲a∨| 成人动漫中文字幕| 午夜av电影一区| 国产亚洲欧美日韩在线一区| 欧美亚洲精品一区| 国产精品99久久久久久宅男| 亚洲综合在线视频| 久久老女人爱爱| 在线日韩国产精品| 国产电影精品久久禁18| 一区二区三区四区五区视频在线观看 | 日韩vs国产vs欧美| 国产精品美女久久久久久久| 欧美日本在线看| 国产a视频精品免费观看| 午夜精品久久久久久久99樱桃| 久久久久久久久蜜桃| 欧美麻豆精品久久久久久| 国产美女久久久久| 五月天精品一区二区三区| 中文字幕免费一区| 欧美一区二区三区四区高清| aa级大片欧美| 久久精品亚洲乱码伦伦中文| 亚洲一区二区三区影院| 日韩欧美成人激情| 99热精品国产| 国产宾馆实践打屁股91| **欧美大码日韩| 精品理论电影在线| 欧美卡1卡2卡| 一本高清dvd不卡在线观看| 国产大陆a不卡| 久久精品理论片| 五月婷婷欧美视频| 一区二区三区 在线观看视频| 久久久久久久久99精品| 欧美一区二区视频观看视频| 欧美三区免费完整视频在线观看| 91在线看国产| 成人精品国产一区二区4080| 国产精品资源在线| 九九**精品视频免费播放| 日本不卡在线视频| 日韩成人午夜电影| 亚洲国产精品久久人人爱| 一卡二卡三卡日韩欧美| 亚洲精品日日夜夜| 亚洲三级理论片| 亚洲男人的天堂一区二区| 亚洲欧洲精品成人久久奇米网| 日本一区二区三区高清不卡| 国产清纯白嫩初高生在线观看91| 2020国产成人综合网| 久久众筹精品私拍模特| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 欧美人妖巨大在线| 91精品在线一区二区| 91精品国产手机| 欧美一卡2卡三卡4卡5免费| 91.麻豆视频| 日韩欧美国产精品一区| 久久综合久久久久88| 国产婷婷色一区二区三区四区| 日本一区二区三区四区| 亚洲同性同志一二三专区| 亚洲欧美日韩在线| 亚洲成人av电影在线| 免费成人av在线| 国产电影一区在线| 色婷婷av一区二区三区大白胸 | 懂色av一区二区在线播放| 成人aa视频在线观看| 在线免费一区三区| 日韩一区二区免费高清| 久久午夜电影网| 亚洲男人天堂av| 日韩av不卡在线观看| 国产美女娇喘av呻吟久久| 99这里只有久久精品视频| 欧美日韩综合一区| 久久九九99视频| 亚洲另类春色校园小说| 奇米一区二区三区av| 成人中文字幕电影| 欧美三级视频在线| 欧美韩日一区二区三区| 亚洲永久免费视频| 精品无人区卡一卡二卡三乱码免费卡| 福利一区福利二区| 欧美老人xxxx18| 日本一区二区成人| 青青草国产成人99久久| 99综合电影在线视频| 欧美成人一区二区三区| 综合久久久久久| 精品一区二区三区香蕉蜜桃 | 亚洲午夜电影在线| 国产麻豆精品在线观看| 欧美日韩成人一区二区| 国产精品久久久久影院| 日本不卡中文字幕| 91国内精品野花午夜精品| www国产成人免费观看视频 深夜成人网| 中文字幕在线免费不卡| 激情久久五月天| 欧美视频日韩视频在线观看| 中文字幕av资源一区| 麻豆国产91在线播放| 欧美日韩一区二区三区在线看| 国产视频一区二区在线| 免费在线欧美视频| 在线观看三级视频欧美| 国产午夜亚洲精品不卡| 免费人成在线不卡| 欧美性生活久久| 亚洲精品国产a| 成人av网站在线观看| 国产喂奶挤奶一区二区三区| 爽好久久久欧美精品| 欧美性一二三区| 一区二区三区国产精华| caoporm超碰国产精品| 国产欧美日韩在线| 国产丶欧美丶日本不卡视频| 欧美tickling挠脚心丨vk| 天天做天天摸天天爽国产一区| 91色婷婷久久久久合中文| 国产精品入口麻豆九色| 国产大片一区二区| 国产欧美一区二区精品久导航| 国产剧情在线观看一区二区| 久久久99久久精品欧美| 国产福利精品一区二区| 国产精品网站一区| 91麻豆6部合集magnet|