⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 plibc.tex

📁 嵌入式文件系统 EFSL 0.3.5 / 嵌入式文件系统 EFSL 0.3.5
💻 TEX
字号:
This section of the manual describes the minimalistic C library functions that werecreated for EFSL. Since EFSL was designed for ultimate portability, no assumptions about theworkings or even the presence of a C library could be made. Fortunately only very few functionshad to be created that mimicked the operations of well known C library functions.\\\begin{longtable}{|p{0.35\textwidth}|p{0.65\textwidth}|}		\hline	\multicolumn{2}{|c|}{		\textbf{PLibC Functions}	} \\	\multicolumn{2}{|c|}{} \\	\hline	\hline	\endfirsthead		\hline	\multicolumn{2}{|c|}{\textbf{PLibC Functions (continued)}} \\	\hline	\endhead	\hline	\endfoot		\hline 	\endlastfoot	\code{strMatch} & \code{euint16 strMatch(eint8* bufa, eint8*bufb,euint32 n)} \\	\hline	\multicolumn{2}{|p{\textwidth}|}{	This function compares the strings \code{bufa} and \code{bufb} for \code{n} bytes.	It will return the number of bytes in that section that does not match. So if you	want to compare two strings the return value should be 0, for the strings to match over	the entire \code{n} area.	}\\	\hline		\code{memCpy} & \code{void memCpy(void* psrc, void* pdest, euint32 size)} \\	\hline	\multicolumn{2}{|p{\textwidth}|}{	This function will copy the contents at location \code{psrc} to location \code{pdest} over	a range of \code{size} bytes.	}\\	\hline	\code{memClr} & \code{void memClr(void *pdest,euint32 size)} \\	\hline	\multicolumn{2}{|p{\textwidth}|}{	This function will set the memory at \code{pdest} to value \code{0x00} for a range of	\code{size} bytes.	}\\	\hline	\code{memSet} & \code{void memSet(void *pdest,euint32 size,euint8 data)} \\	\hline	\multicolumn{2}{|p{\textwidth}|}{	This function will set the memory at \code{pdest} to value \code{data} for a range of	\code{size} bytes.	}\\	\hline\end{longtable}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -