我在搜索 string.h
时发现了这个。在哪里可以找到string.h
中定义的函数的源代码?
即[说]源代码
void *memcpy(void *, const void *, size_t);
我还想问一下,如何使您的函数成为一个接口(interface),并像 string.h
函数那样对开发人员隐藏其实现。
最佳答案
Here's memmove来自 Ohloh 的代码搜索。
关于c - string.h的源码在哪里获取;不是函数原型(prototype),而是函数的实现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2607358/