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

📄 strncpy.c

📁 linux 内核源代码
💻 C
字号:
/* * Provide symbol in case str func is not inlined. * * Copyright (c) 2006-2007 Analog Devices Inc. * * Licensed under the GPL-2 or later. */#define strncpy __inline_strncpy#include <asm/string.h>#undef strncpy#include <linux/module.h>char *strncpy(char *dest, const char *src, size_t n){	return __inline_strncpy(dest, src, n);}EXPORT_SYMBOL(strncpy);

⌨️ 快捷键说明

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