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

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

?? ansistring.c

?? vxwork源代碼
?? 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一区二区三区免费野_久草精品视频
国产欧美综合在线观看第十页| 成人h动漫精品一区二| 欧美日韩国产大片| 午夜精品久久久久影视| 在线播放国产精品二区一二区四区| 天天综合色天天综合色h| 日韩欧美亚洲国产另类| 国产福利一区二区三区在线视频| 欧美精彩视频一区二区三区| 91视频在线看| 青椒成人免费视频| 欧美一二三四在线| 国产精品99久久久久久似苏梦涵| 日韩欧美色电影| 成人性生交大片免费看在线播放| 中文字幕日韩精品一区 | 免费在线观看视频一区| 精品国产免费视频| 不卡免费追剧大全电视剧网站| 亚洲精品自拍动漫在线| 91麻豆精品国产自产在线| 狠狠色狠狠色综合| 亚洲男人天堂一区| 欧美一区二区成人6969| 成人一区二区视频| 天堂成人免费av电影一区| 久久久99久久精品欧美| 在线看不卡av| 国产麻豆精品一区二区| 一卡二卡欧美日韩| 久久品道一品道久久精品| 91天堂素人约啪| 久久99国产乱子伦精品免费| 亚洲欧美日韩电影| 久久精品亚洲国产奇米99| 一本大道综合伊人精品热热| 国内精品国产成人国产三级粉色| 亚洲欧美激情小说另类| 欧美精品一区二区三区视频| 欧美中文字幕一区二区三区亚洲| 精品一区二区在线看| 一区二区三区丝袜| 久久亚洲精精品中文字幕早川悠里 | 久久久久国产精品麻豆ai换脸| 色噜噜狠狠色综合中国| 国产成人精品影院| 老司机午夜精品99久久| 亚洲高清免费观看| 国产精品国产三级国产三级人妇| 日韩三级免费观看| 欧美亚洲另类激情小说| 99免费精品视频| 国产电影精品久久禁18| 久久国产精品免费| 香蕉加勒比综合久久| 亚洲精品日韩综合观看成人91| 久久先锋影音av| 91精品欧美一区二区三区综合在| 色婷婷精品久久二区二区蜜臀av| 国产精品456露脸| 久久国产精品99久久人人澡| 亚洲国产日韩在线一区模特| 亚洲精品视频一区二区| 国产精品国模大尺度视频| 国产日韩三级在线| 国产亚洲精品资源在线26u| 欧美大片一区二区三区| 欧美一区午夜视频在线观看| 欧美日韩黄色一区二区| 欧洲精品视频在线观看| 在线国产亚洲欧美| 在线视频国内自拍亚洲视频| 91国产成人在线| 在线观看国产一区二区| 在线观看免费一区| 欧美视频一区二| 欧美日本韩国一区二区三区视频| 欧美影片第一页| 欧美日本视频在线| 在线播放91灌醉迷j高跟美女 | 国产成人免费在线视频| 国产精品一区二区免费不卡| 国产精品自拍在线| 国产精品91xxx| 成人白浆超碰人人人人| 91色婷婷久久久久合中文| 91在线观看成人| 欧美图区在线视频| 欧美日韩精品久久久| 欧美一级理论片| 欧美不卡一区二区三区四区| 精品国产一区二区三区不卡| 国产日本欧美一区二区| 1区2区3区国产精品| 一区二区三区欧美在线观看| 亚洲成人激情社区| 麻豆久久一区二区| 国产高清在线精品| 91丨九色丨蝌蚪富婆spa| 欧美性受xxxx黑人xyx性爽| 欧美日高清视频| 久久久久久影视| 亚洲免费观看高清完整版在线观看 | 亚洲成人av福利| 麻豆成人综合网| 国产激情一区二区三区桃花岛亚洲 | 亚洲精品视频在线观看网站| 青椒成人免费视频| 成人深夜视频在线观看| 一本色道a无线码一区v| 日韩欧美国产不卡| 综合网在线视频| 日本欧美一区二区三区| 成人性生交大合| 欧美婷婷六月丁香综合色| 久久综合色天天久久综合图片| 最新国产成人在线观看| 日本强好片久久久久久aaa| 粉嫩aⅴ一区二区三区四区| 欧美日韩在线播| 国产视频一区在线播放| 午夜精品久久久久久久蜜桃app| 国产精品一区二区在线播放| 在线观看国产91| 欧美激情一二三区| 日本视频一区二区| 91福利视频久久久久| 久久亚洲精华国产精华液| 亚洲成a人v欧美综合天堂下载| 国产一区二区三区av电影 | 欧美另类久久久品| 国产欧美视频在线观看| 日韩成人免费在线| 色综合天天综合狠狠| 国产日韩欧美一区二区三区乱码 | 久久99精品久久久久婷婷| 99re这里只有精品首页| 精品国产乱子伦一区| 亚洲综合一区二区三区| 国产成人免费在线视频| 日韩欧美资源站| 亚洲综合视频在线观看| 99这里只有久久精品视频| 2023国产精品自拍| 美女视频一区二区三区| 欧美色视频一区| 亚洲三级电影全部在线观看高清| 国产一区二区网址| 欧美变态tickling挠脚心| 亚洲一区二区三区四区在线| va亚洲va日韩不卡在线观看| 久久久久久夜精品精品免费| 免费观看91视频大全| 91精品久久久久久蜜臀| 亚洲aaa精品| 91福利视频久久久久| 一区二区视频在线看| av电影在线观看完整版一区二区| 久久久精品日韩欧美| 九九视频精品免费| 日韩精品一区二区三区四区 | 亚洲黄色性网站| 91免费版pro下载短视频| 中文字幕在线播放不卡一区| 成人理论电影网| 中文字幕国产一区二区| 成人黄色片在线观看| 国产蜜臀97一区二区三区| 国产精品资源在线看| 日本一区二区三区dvd视频在线| 国产高清亚洲一区| 国产精品国产自产拍高清av| 91在线你懂得| 亚洲激情图片qvod| 欧美视频中文一区二区三区在线观看 | 国产在线麻豆精品观看| 久久久久久久精| 成人黄色电影在线 | 精品国产露脸精彩对白| 精品一区二区三区视频在线观看 | 中文字幕免费不卡在线| www.日韩av| 亚洲综合在线第一页| 91精品国产aⅴ一区二区| 久草在线在线精品观看| 国产欧美视频在线观看| 91麻豆免费在线观看| 午夜在线成人av| 精品欧美乱码久久久久久 | 欧美日本不卡视频| 日韩综合小视频| 精品国产91久久久久久久妲己 | 国产激情91久久精品导航 | 日本欧美一区二区在线观看| 精品国产91久久久久久久妲己| 粉嫩久久99精品久久久久久夜| 中文字幕一区二区5566日韩| 欧美日韩亚洲综合一区二区三区| 欧美亚洲高清一区二区三区不卡| 午夜精品久久一牛影视|