Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\string.h Create Date:2022-07-28 05:34:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:strstarts - does @str start with @prefix?*@str: string to examine*@prefix: prefix to look for.

Proto:static inline bool strstarts(const char *str, const char *prefix)

Type:bool

Parameter:

TypeParameterName
const char *str
const char *prefix
228  Return strncmp(str, prefix, strlen(prefix)) == 0
Caller
NameDescribe
layout_sectionsLay out the SHF_ALLOC sections in a way not dissimilar to how ldmight -- code, read-only data, read-write data, small data. Tallysizes, and place the offsets into sh_entsize fields: high bit means itbelongs in init.
module_exit_section