forked from OSchip/llvm-project
25 lines
559 B
TableGen
25 lines
559 B
TableGen
def BsdExtensions : StandardSpec<"BSDExtensions"> {
|
|
HeaderSpec String = HeaderSpec<
|
|
"string.h",
|
|
[], // Macros
|
|
[], // Types
|
|
[], // Enumerations
|
|
[
|
|
FunctionSpec<
|
|
"strlcat",
|
|
RetValSpec<SizeTType>,
|
|
[ArgSpec<CharPtr>, ArgSpec<ConstCharPtr>, ArgSpec<SizeTType>]
|
|
>,
|
|
FunctionSpec<
|
|
"strlcpy",
|
|
RetValSpec<SizeTType>,
|
|
[ArgSpec<CharPtr>, ArgSpec<ConstCharPtr>, ArgSpec<SizeTType>]
|
|
>,
|
|
]
|
|
>;
|
|
|
|
let Headers = [
|
|
String,
|
|
];
|
|
}
|