usr/dummy-include/string.h

Source file repositories/reference/linux-study-clean/usr/dummy-include/string.h

File Facts

System
Linux kernel
Corpus path
usr/dummy-include/string.h
Extension
.h
Size
307 bytes
Lines
13
Domain
Support Tooling And Documentation
Bucket
usr
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _DUMMY_STRING_H
#define _DUMMY_STRING_H

#include <stddef.h>

#define memset(_s, _c, _n) __builtin_memset(_s, _c, _n)
#define memcpy(_dest, _src, _n) __builtin_memcpy(_dest, _src, _n)

#define strlen(_s) __builtin_strlen(_s)

#endif /* _DUMMY_STRING_H */

Annotation

Implementation Notes