llvm-project/libc/spec/bsd_ext.td

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,
];
}