TargetLibraryInfo.def 76 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404
  1. //===-- TargetLibraryInfo.def - Library information -------------*- C++ -*-===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. // This .def file will either fill in the enum definition or fill in the
  9. // string representation array definition for TargetLibraryInfo.
  10. // Which is defined depends on whether TLI_DEFINE_ENUM is defined or
  11. // TLI_DEFINE_STRING is defined. Only one should be defined at a time.
  12. // NOTE: The nofree attribute is added to Libfuncs which are not
  13. // listed as free or realloc functions in MemoryBuiltins.cpp
  14. //
  15. // When adding a function which frees memory include the LibFunc
  16. // in lib/Analysis/MemoryBuiltins.cpp "isLibFreeFunction".
  17. //
  18. // When adding a LibFunc which reallocates memory include the LibFunc
  19. // in lib/Analysis/MemoryBuiltins.cpp "AllocationFnData[]".
  20. #if (defined(TLI_DEFINE_ENUM) + \
  21. defined(TLI_DEFINE_STRING) + \
  22. defined(TLI_DEFINE_SIG) != 1)
  23. #error "Must define exactly one of TLI_DEFINE_ENUM, TLI_DEFINE_STRING, or TLI_DEFINE_SIG for TLI .def."
  24. #else
  25. // Exactly one of TLI_DEFINE_ENUM/STRING/SIG is defined.
  26. #if defined(TLI_DEFINE_ENUM)
  27. #define TLI_DEFINE_ENUM_INTERNAL(enum_variant) LibFunc_##enum_variant,
  28. #define TLI_DEFINE_STRING_INTERNAL(string_repr)
  29. #define TLI_DEFINE_SIG_INTERNAL(...)
  30. #elif defined(TLI_DEFINE_STRING)
  31. #define TLI_DEFINE_ENUM_INTERNAL(enum_variant)
  32. #define TLI_DEFINE_STRING_INTERNAL(string_repr) string_repr,
  33. #define TLI_DEFINE_SIG_INTERNAL(...)
  34. #else
  35. #define TLI_DEFINE_ENUM_INTERNAL(enum_variant)
  36. #define TLI_DEFINE_STRING_INTERNAL(string_repr)
  37. #define TLI_DEFINE_SIG_INTERNAL(...) { __VA_ARGS__ },
  38. #endif
  39. /// void *operator new(unsigned int);
  40. TLI_DEFINE_ENUM_INTERNAL(msvc_new_int)
  41. TLI_DEFINE_STRING_INTERNAL("??2@YAPAXI@Z")
  42. TLI_DEFINE_SIG_INTERNAL(Ptr, Int)
  43. /// void *operator new(unsigned int, const std::nothrow_t&);
  44. TLI_DEFINE_ENUM_INTERNAL(msvc_new_int_nothrow)
  45. TLI_DEFINE_STRING_INTERNAL("??2@YAPAXIABUnothrow_t@std@@@Z")
  46. TLI_DEFINE_SIG_INTERNAL(Ptr, Int, Ptr)
  47. /// void *operator new(unsigned long long);
  48. TLI_DEFINE_ENUM_INTERNAL(msvc_new_longlong)
  49. TLI_DEFINE_STRING_INTERNAL("??2@YAPEAX_K@Z")
  50. TLI_DEFINE_SIG_INTERNAL(Ptr, LLong)
  51. /// void *operator new(unsigned long long, const std::nothrow_t&);
  52. TLI_DEFINE_ENUM_INTERNAL(msvc_new_longlong_nothrow)
  53. TLI_DEFINE_STRING_INTERNAL("??2@YAPEAX_KAEBUnothrow_t@std@@@Z")
  54. TLI_DEFINE_SIG_INTERNAL(Ptr, LLong, Ptr)
  55. /// void operator delete(void*);
  56. TLI_DEFINE_ENUM_INTERNAL(msvc_delete_ptr32)
  57. TLI_DEFINE_STRING_INTERNAL("??3@YAXPAX@Z")
  58. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  59. /// void operator delete(void*, const std::nothrow_t&);
  60. TLI_DEFINE_ENUM_INTERNAL(msvc_delete_ptr32_nothrow)
  61. TLI_DEFINE_STRING_INTERNAL("??3@YAXPAXABUnothrow_t@std@@@Z")
  62. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Ptr)
  63. /// void operator delete(void*, unsigned int);
  64. TLI_DEFINE_ENUM_INTERNAL(msvc_delete_ptr32_int)
  65. TLI_DEFINE_STRING_INTERNAL("??3@YAXPAXI@Z")
  66. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Int)
  67. /// void operator delete(void*);
  68. TLI_DEFINE_ENUM_INTERNAL(msvc_delete_ptr64)
  69. TLI_DEFINE_STRING_INTERNAL("??3@YAXPEAX@Z")
  70. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  71. /// void operator delete(void*, const std::nothrow_t&);
  72. TLI_DEFINE_ENUM_INTERNAL(msvc_delete_ptr64_nothrow)
  73. TLI_DEFINE_STRING_INTERNAL("??3@YAXPEAXAEBUnothrow_t@std@@@Z")
  74. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Ptr)
  75. /// void operator delete(void*, unsigned long long);
  76. TLI_DEFINE_ENUM_INTERNAL(msvc_delete_ptr64_longlong)
  77. TLI_DEFINE_STRING_INTERNAL("??3@YAXPEAX_K@Z")
  78. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, LLong)
  79. /// void *operator new[](unsigned int);
  80. TLI_DEFINE_ENUM_INTERNAL(msvc_new_array_int)
  81. TLI_DEFINE_STRING_INTERNAL("??_U@YAPAXI@Z")
  82. TLI_DEFINE_SIG_INTERNAL(Ptr, Int)
  83. /// void *operator new[](unsigned int, const std::nothrow_t&);
  84. TLI_DEFINE_ENUM_INTERNAL(msvc_new_array_int_nothrow)
  85. TLI_DEFINE_STRING_INTERNAL("??_U@YAPAXIABUnothrow_t@std@@@Z")
  86. TLI_DEFINE_SIG_INTERNAL(Ptr, Int, Ptr)
  87. /// void *operator new[](unsigned long long);
  88. TLI_DEFINE_ENUM_INTERNAL(msvc_new_array_longlong)
  89. TLI_DEFINE_STRING_INTERNAL("??_U@YAPEAX_K@Z")
  90. TLI_DEFINE_SIG_INTERNAL(Ptr, LLong)
  91. /// void *operator new[](unsigned long long, const std::nothrow_t&);
  92. TLI_DEFINE_ENUM_INTERNAL(msvc_new_array_longlong_nothrow)
  93. TLI_DEFINE_STRING_INTERNAL("??_U@YAPEAX_KAEBUnothrow_t@std@@@Z")
  94. TLI_DEFINE_SIG_INTERNAL(Ptr, LLong, Ptr)
  95. /// void operator delete[](void*);
  96. TLI_DEFINE_ENUM_INTERNAL(msvc_delete_array_ptr32)
  97. TLI_DEFINE_STRING_INTERNAL("??_V@YAXPAX@Z")
  98. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  99. /// void operator delete[](void*, const std::nothrow_t&);
  100. TLI_DEFINE_ENUM_INTERNAL(msvc_delete_array_ptr32_nothrow)
  101. TLI_DEFINE_STRING_INTERNAL("??_V@YAXPAXABUnothrow_t@std@@@Z")
  102. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Ptr)
  103. /// void operator delete[](void*, unsigned int);
  104. TLI_DEFINE_ENUM_INTERNAL(msvc_delete_array_ptr32_int)
  105. TLI_DEFINE_STRING_INTERNAL("??_V@YAXPAXI@Z")
  106. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Int)
  107. /// void operator delete[](void*);
  108. TLI_DEFINE_ENUM_INTERNAL(msvc_delete_array_ptr64)
  109. TLI_DEFINE_STRING_INTERNAL("??_V@YAXPEAX@Z")
  110. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  111. /// void operator delete[](void*, const std::nothrow_t&);
  112. TLI_DEFINE_ENUM_INTERNAL(msvc_delete_array_ptr64_nothrow)
  113. TLI_DEFINE_STRING_INTERNAL("??_V@YAXPEAXAEBUnothrow_t@std@@@Z")
  114. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Ptr)
  115. /// void operator delete[](void*, unsigned long long);
  116. TLI_DEFINE_ENUM_INTERNAL(msvc_delete_array_ptr64_longlong)
  117. TLI_DEFINE_STRING_INTERNAL("??_V@YAXPEAX_K@Z")
  118. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, LLong)
  119. /// int _IO_getc(_IO_FILE * __fp);
  120. TLI_DEFINE_ENUM_INTERNAL(under_IO_getc)
  121. TLI_DEFINE_STRING_INTERNAL("_IO_getc")
  122. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  123. /// int _IO_putc(int __c, _IO_FILE * __fp);
  124. TLI_DEFINE_ENUM_INTERNAL(under_IO_putc)
  125. TLI_DEFINE_STRING_INTERNAL("_IO_putc")
  126. TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr)
  127. /// void operator delete[](void*);
  128. TLI_DEFINE_ENUM_INTERNAL(ZdaPv)
  129. TLI_DEFINE_STRING_INTERNAL("_ZdaPv")
  130. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  131. /// void operator delete[](void*, const std::nothrow_t&);
  132. TLI_DEFINE_ENUM_INTERNAL(ZdaPvRKSt9nothrow_t)
  133. TLI_DEFINE_STRING_INTERNAL("_ZdaPvRKSt9nothrow_t")
  134. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Ptr)
  135. /// void operator delete[](void*, std::align_val_t);
  136. TLI_DEFINE_ENUM_INTERNAL(ZdaPvSt11align_val_t)
  137. TLI_DEFINE_STRING_INTERNAL("_ZdaPvSt11align_val_t")
  138. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, IntPlus)
  139. /// void operator delete[](void*, std::align_val_t, const std::nothrow_t&)
  140. TLI_DEFINE_ENUM_INTERNAL(ZdaPvSt11align_val_tRKSt9nothrow_t)
  141. TLI_DEFINE_STRING_INTERNAL("_ZdaPvSt11align_val_tRKSt9nothrow_t")
  142. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, IntPlus, Ptr)
  143. /// void operator delete[](void*, unsigned int);
  144. TLI_DEFINE_ENUM_INTERNAL(ZdaPvj)
  145. TLI_DEFINE_STRING_INTERNAL("_ZdaPvj")
  146. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Int)
  147. /// void operator delete[](void*, unsigned int, std::align_val_t);
  148. TLI_DEFINE_ENUM_INTERNAL(ZdaPvjSt11align_val_t)
  149. TLI_DEFINE_STRING_INTERNAL("_ZdaPvjSt11align_val_t")
  150. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Int, Int)
  151. /// void operator delete[](void*, unsigned long);
  152. TLI_DEFINE_ENUM_INTERNAL(ZdaPvm)
  153. TLI_DEFINE_STRING_INTERNAL("_ZdaPvm")
  154. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Long)
  155. /// void operator delete[](void*, unsigned long, std::align_val_t);
  156. TLI_DEFINE_ENUM_INTERNAL(ZdaPvmSt11align_val_t)
  157. TLI_DEFINE_STRING_INTERNAL("_ZdaPvmSt11align_val_t")
  158. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Long, Long)
  159. /// void operator delete(void*);
  160. TLI_DEFINE_ENUM_INTERNAL(ZdlPv)
  161. TLI_DEFINE_STRING_INTERNAL("_ZdlPv")
  162. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  163. /// void operator delete(void*, const std::nothrow_t&);
  164. TLI_DEFINE_ENUM_INTERNAL(ZdlPvRKSt9nothrow_t)
  165. TLI_DEFINE_STRING_INTERNAL("_ZdlPvRKSt9nothrow_t")
  166. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Ptr)
  167. /// void operator delete(void*, std::align_val_t)
  168. TLI_DEFINE_ENUM_INTERNAL(ZdlPvSt11align_val_t)
  169. TLI_DEFINE_STRING_INTERNAL("_ZdlPvSt11align_val_t")
  170. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, IntPlus)
  171. /// void operator delete(void*, std::align_val_t, const std::nothrow_t&)
  172. TLI_DEFINE_ENUM_INTERNAL(ZdlPvSt11align_val_tRKSt9nothrow_t)
  173. TLI_DEFINE_STRING_INTERNAL("_ZdlPvSt11align_val_tRKSt9nothrow_t")
  174. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, IntPlus, Ptr)
  175. /// void operator delete(void*, unsigned int);
  176. TLI_DEFINE_ENUM_INTERNAL(ZdlPvj)
  177. TLI_DEFINE_STRING_INTERNAL("_ZdlPvj")
  178. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Int)
  179. /// void operator delete(void*, unsigned int, std::align_val_t)
  180. TLI_DEFINE_ENUM_INTERNAL(ZdlPvjSt11align_val_t)
  181. TLI_DEFINE_STRING_INTERNAL("_ZdlPvjSt11align_val_t")
  182. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Int, Int)
  183. /// void operator delete(void*, unsigned long);
  184. TLI_DEFINE_ENUM_INTERNAL(ZdlPvm)
  185. TLI_DEFINE_STRING_INTERNAL("_ZdlPvm")
  186. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Long)
  187. /// void operator delete(void*, unsigned long, std::align_val_t)
  188. TLI_DEFINE_ENUM_INTERNAL(ZdlPvmSt11align_val_t)
  189. TLI_DEFINE_STRING_INTERNAL("_ZdlPvmSt11align_val_t")
  190. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Long, Long)
  191. /// void *operator new[](unsigned int);
  192. TLI_DEFINE_ENUM_INTERNAL(Znaj)
  193. TLI_DEFINE_STRING_INTERNAL("_Znaj")
  194. TLI_DEFINE_SIG_INTERNAL(Ptr, Int)
  195. /// void *operator new[](unsigned int, const std::nothrow_t&);
  196. TLI_DEFINE_ENUM_INTERNAL(ZnajRKSt9nothrow_t)
  197. TLI_DEFINE_STRING_INTERNAL("_ZnajRKSt9nothrow_t")
  198. TLI_DEFINE_SIG_INTERNAL(Ptr, Int, Ptr)
  199. /// void *operator new[](unsigned int, std::align_val_t)
  200. TLI_DEFINE_ENUM_INTERNAL(ZnajSt11align_val_t)
  201. TLI_DEFINE_STRING_INTERNAL("_ZnajSt11align_val_t")
  202. TLI_DEFINE_SIG_INTERNAL(Ptr, Int, Int)
  203. /// void *operator new[](unsigned int, std::align_val_t, const std::nothrow_t&)
  204. TLI_DEFINE_ENUM_INTERNAL(ZnajSt11align_val_tRKSt9nothrow_t)
  205. TLI_DEFINE_STRING_INTERNAL("_ZnajSt11align_val_tRKSt9nothrow_t")
  206. TLI_DEFINE_SIG_INTERNAL(Ptr, Int, Int, Ptr)
  207. /// void *operator new[](unsigned long);
  208. TLI_DEFINE_ENUM_INTERNAL(Znam)
  209. TLI_DEFINE_STRING_INTERNAL("_Znam")
  210. TLI_DEFINE_SIG_INTERNAL(Ptr, Long)
  211. /// void *operator new[](unsigned long, const std::nothrow_t&);
  212. TLI_DEFINE_ENUM_INTERNAL(ZnamRKSt9nothrow_t)
  213. TLI_DEFINE_STRING_INTERNAL("_ZnamRKSt9nothrow_t")
  214. TLI_DEFINE_SIG_INTERNAL(Ptr, Long, Ptr)
  215. /// void *operator new[](unsigned long, std::align_val_t)
  216. TLI_DEFINE_ENUM_INTERNAL(ZnamSt11align_val_t)
  217. TLI_DEFINE_STRING_INTERNAL("_ZnamSt11align_val_t")
  218. TLI_DEFINE_SIG_INTERNAL(Ptr, Long, Long)
  219. /// void *operator new[](unsigned long, std::align_val_t, const std::nothrow_t&)
  220. TLI_DEFINE_ENUM_INTERNAL(ZnamSt11align_val_tRKSt9nothrow_t)
  221. TLI_DEFINE_STRING_INTERNAL("_ZnamSt11align_val_tRKSt9nothrow_t")
  222. TLI_DEFINE_SIG_INTERNAL(Ptr, Long, Long, Ptr)
  223. /// void *operator new(unsigned int);
  224. TLI_DEFINE_ENUM_INTERNAL(Znwj)
  225. TLI_DEFINE_STRING_INTERNAL("_Znwj")
  226. TLI_DEFINE_SIG_INTERNAL(Ptr, Int)
  227. /// void *operator new(unsigned int, const std::nothrow_t&);
  228. TLI_DEFINE_ENUM_INTERNAL(ZnwjRKSt9nothrow_t)
  229. TLI_DEFINE_STRING_INTERNAL("_ZnwjRKSt9nothrow_t")
  230. TLI_DEFINE_SIG_INTERNAL(Ptr, Int, Ptr)
  231. /// void *operator new(unsigned int, std::align_val_t)
  232. TLI_DEFINE_ENUM_INTERNAL(ZnwjSt11align_val_t)
  233. TLI_DEFINE_STRING_INTERNAL("_ZnwjSt11align_val_t")
  234. TLI_DEFINE_SIG_INTERNAL(Ptr, Int, Int)
  235. /// void *operator new(unsigned int, std::align_val_t, const std::nothrow_t&)
  236. TLI_DEFINE_ENUM_INTERNAL(ZnwjSt11align_val_tRKSt9nothrow_t)
  237. TLI_DEFINE_STRING_INTERNAL("_ZnwjSt11align_val_tRKSt9nothrow_t")
  238. TLI_DEFINE_SIG_INTERNAL(Ptr, Int, Int, Ptr)
  239. /// void *operator new(unsigned long);
  240. TLI_DEFINE_ENUM_INTERNAL(Znwm)
  241. TLI_DEFINE_STRING_INTERNAL("_Znwm")
  242. TLI_DEFINE_SIG_INTERNAL(Ptr, Long)
  243. /// void *operator new(unsigned long, const std::nothrow_t&);
  244. TLI_DEFINE_ENUM_INTERNAL(ZnwmRKSt9nothrow_t)
  245. TLI_DEFINE_STRING_INTERNAL("_ZnwmRKSt9nothrow_t")
  246. TLI_DEFINE_SIG_INTERNAL(Ptr, Long, Ptr)
  247. /// void *operator new(unsigned long, std::align_val_t)
  248. TLI_DEFINE_ENUM_INTERNAL(ZnwmSt11align_val_t)
  249. TLI_DEFINE_STRING_INTERNAL("_ZnwmSt11align_val_t")
  250. TLI_DEFINE_SIG_INTERNAL(Ptr, Long, Long)
  251. /// void *operator new(unsigned long, std::align_val_t, const std::nothrow_t&)
  252. TLI_DEFINE_ENUM_INTERNAL(ZnwmSt11align_val_tRKSt9nothrow_t)
  253. TLI_DEFINE_STRING_INTERNAL("_ZnwmSt11align_val_tRKSt9nothrow_t")
  254. TLI_DEFINE_SIG_INTERNAL(Ptr, Long, Long, Ptr)
  255. /// double __acos_finite(double x);
  256. TLI_DEFINE_ENUM_INTERNAL(acos_finite)
  257. TLI_DEFINE_STRING_INTERNAL("__acos_finite")
  258. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  259. /// float __acosf_finite(float x);
  260. TLI_DEFINE_ENUM_INTERNAL(acosf_finite)
  261. TLI_DEFINE_STRING_INTERNAL("__acosf_finite")
  262. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  263. /// double __acosh_finite(double x);
  264. TLI_DEFINE_ENUM_INTERNAL(acosh_finite)
  265. TLI_DEFINE_STRING_INTERNAL("__acosh_finite")
  266. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  267. /// float __acoshf_finite(float x);
  268. TLI_DEFINE_ENUM_INTERNAL(acoshf_finite)
  269. TLI_DEFINE_STRING_INTERNAL("__acoshf_finite")
  270. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  271. /// long double __acoshl_finite(long double x);
  272. TLI_DEFINE_ENUM_INTERNAL(acoshl_finite)
  273. TLI_DEFINE_STRING_INTERNAL("__acoshl_finite")
  274. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  275. /// long double __acosl_finite(long double x);
  276. TLI_DEFINE_ENUM_INTERNAL(acosl_finite)
  277. TLI_DEFINE_STRING_INTERNAL("__acosl_finite")
  278. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  279. /// double __asin_finite(double x);
  280. TLI_DEFINE_ENUM_INTERNAL(asin_finite)
  281. TLI_DEFINE_STRING_INTERNAL("__asin_finite")
  282. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  283. /// float __asinf_finite(float x);
  284. TLI_DEFINE_ENUM_INTERNAL(asinf_finite)
  285. TLI_DEFINE_STRING_INTERNAL("__asinf_finite")
  286. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  287. /// long double __asinl_finite(long double x);
  288. TLI_DEFINE_ENUM_INTERNAL(asinl_finite)
  289. TLI_DEFINE_STRING_INTERNAL("__asinl_finite")
  290. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  291. /// double atan2_finite(double y, double x);
  292. TLI_DEFINE_ENUM_INTERNAL(atan2_finite)
  293. TLI_DEFINE_STRING_INTERNAL("__atan2_finite")
  294. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl, Dbl)
  295. /// float atan2f_finite(float y, float x);
  296. TLI_DEFINE_ENUM_INTERNAL(atan2f_finite)
  297. TLI_DEFINE_STRING_INTERNAL("__atan2f_finite")
  298. TLI_DEFINE_SIG_INTERNAL(Flt, Flt, Flt)
  299. /// long double atan2l_finite(long double y, long double x);
  300. TLI_DEFINE_ENUM_INTERNAL(atan2l_finite)
  301. TLI_DEFINE_STRING_INTERNAL("__atan2l_finite")
  302. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl, LDbl)
  303. /// double __atanh_finite(double x);
  304. TLI_DEFINE_ENUM_INTERNAL(atanh_finite)
  305. TLI_DEFINE_STRING_INTERNAL("__atanh_finite")
  306. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  307. /// float __atanhf_finite(float x);
  308. TLI_DEFINE_ENUM_INTERNAL(atanhf_finite)
  309. TLI_DEFINE_STRING_INTERNAL("__atanhf_finite")
  310. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  311. /// long double __atanhl_finite(long double x);
  312. TLI_DEFINE_ENUM_INTERNAL(atanhl_finite)
  313. TLI_DEFINE_STRING_INTERNAL("__atanhl_finite")
  314. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  315. /// void __atomic_load(size_t size, void *mptr, void *vptr, int smodel);
  316. TLI_DEFINE_ENUM_INTERNAL(atomic_load)
  317. TLI_DEFINE_STRING_INTERNAL("__atomic_load")
  318. TLI_DEFINE_SIG_INTERNAL(Void, SizeT, Ptr, Ptr, Int)
  319. /// void __atomic_store(size_t size, void *mptr, void *vptr, int smodel);
  320. TLI_DEFINE_ENUM_INTERNAL(atomic_store)
  321. TLI_DEFINE_STRING_INTERNAL("__atomic_store")
  322. TLI_DEFINE_SIG_INTERNAL(Void, SizeT, Ptr, Ptr, Int)
  323. /// double __cosh_finite(double x);
  324. TLI_DEFINE_ENUM_INTERNAL(cosh_finite)
  325. TLI_DEFINE_STRING_INTERNAL("__cosh_finite")
  326. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  327. /// float __coshf_finite(float x);
  328. TLI_DEFINE_ENUM_INTERNAL(coshf_finite)
  329. TLI_DEFINE_STRING_INTERNAL("__coshf_finite")
  330. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  331. /// long double __coshl_finite(long double x);
  332. TLI_DEFINE_ENUM_INTERNAL(coshl_finite)
  333. TLI_DEFINE_STRING_INTERNAL("__coshl_finite")
  334. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  335. /// double __cospi(double x);
  336. TLI_DEFINE_ENUM_INTERNAL(cospi)
  337. TLI_DEFINE_STRING_INTERNAL("__cospi")
  338. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  339. /// float __cospif(float x);
  340. TLI_DEFINE_ENUM_INTERNAL(cospif)
  341. TLI_DEFINE_STRING_INTERNAL("__cospif")
  342. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  343. /// int __cxa_atexit(void (*f)(void *), void *p, void *d);
  344. TLI_DEFINE_ENUM_INTERNAL(cxa_atexit)
  345. TLI_DEFINE_STRING_INTERNAL("__cxa_atexit")
  346. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ptr)
  347. /// void __cxa_guard_abort(guard_t *guard);
  348. /// guard_t is int64_t in Itanium ABI or int32_t on ARM eabi.
  349. TLI_DEFINE_ENUM_INTERNAL(cxa_guard_abort)
  350. TLI_DEFINE_STRING_INTERNAL("__cxa_guard_abort")
  351. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  352. /// int __cxa_guard_acquire(guard_t *guard);
  353. TLI_DEFINE_ENUM_INTERNAL(cxa_guard_acquire)
  354. TLI_DEFINE_STRING_INTERNAL("__cxa_guard_acquire")
  355. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  356. /// void __cxa_guard_release(guard_t *guard);
  357. TLI_DEFINE_ENUM_INTERNAL(cxa_guard_release)
  358. TLI_DEFINE_STRING_INTERNAL("__cxa_guard_release")
  359. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  360. /// double __exp10_finite(double x);
  361. TLI_DEFINE_ENUM_INTERNAL(exp10_finite)
  362. TLI_DEFINE_STRING_INTERNAL("__exp10_finite")
  363. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  364. /// float __exp10f_finite(float x);
  365. TLI_DEFINE_ENUM_INTERNAL(exp10f_finite)
  366. TLI_DEFINE_STRING_INTERNAL("__exp10f_finite")
  367. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  368. /// long double __exp10l_finite(long double x);
  369. TLI_DEFINE_ENUM_INTERNAL(exp10l_finite)
  370. TLI_DEFINE_STRING_INTERNAL("__exp10l_finite")
  371. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  372. /// double __exp2_finite(double x);
  373. TLI_DEFINE_ENUM_INTERNAL(exp2_finite)
  374. TLI_DEFINE_STRING_INTERNAL("__exp2_finite")
  375. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  376. /// float __exp2f_finite(float x);
  377. TLI_DEFINE_ENUM_INTERNAL(exp2f_finite)
  378. TLI_DEFINE_STRING_INTERNAL("__exp2f_finite")
  379. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  380. /// long double __exp2l_finite(long double x);
  381. TLI_DEFINE_ENUM_INTERNAL(exp2l_finite)
  382. TLI_DEFINE_STRING_INTERNAL("__exp2l_finite")
  383. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  384. /// double __exp_finite(double x);
  385. TLI_DEFINE_ENUM_INTERNAL(exp_finite)
  386. TLI_DEFINE_STRING_INTERNAL("__exp_finite")
  387. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  388. /// float __expf_finite(float x);
  389. TLI_DEFINE_ENUM_INTERNAL(expf_finite)
  390. TLI_DEFINE_STRING_INTERNAL("__expf_finite")
  391. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  392. /// long double __expl_finite(long double x);
  393. TLI_DEFINE_ENUM_INTERNAL(expl_finite)
  394. TLI_DEFINE_STRING_INTERNAL("__expl_finite")
  395. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  396. /// int __isoc99_scanf (const char *format, ...)
  397. TLI_DEFINE_ENUM_INTERNAL(dunder_isoc99_scanf)
  398. TLI_DEFINE_STRING_INTERNAL("__isoc99_scanf")
  399. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ellip)
  400. /// int __isoc99_sscanf(const char *s, const char *format, ...)
  401. TLI_DEFINE_ENUM_INTERNAL(dunder_isoc99_sscanf)
  402. TLI_DEFINE_STRING_INTERNAL("__isoc99_sscanf")
  403. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ellip)
  404. /// void* __kmpc_alloc_shared(size_t nbyte);
  405. TLI_DEFINE_ENUM_INTERNAL(__kmpc_alloc_shared)
  406. TLI_DEFINE_STRING_INTERNAL("__kmpc_alloc_shared")
  407. TLI_DEFINE_SIG_INTERNAL(Ptr, SizeT)
  408. /// void __kmpc_free_shared(void *ptr, size_t nbyte);
  409. TLI_DEFINE_ENUM_INTERNAL(__kmpc_free_shared)
  410. TLI_DEFINE_STRING_INTERNAL("__kmpc_free_shared")
  411. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, SizeT)
  412. /// double __log10_finite(double x);
  413. TLI_DEFINE_ENUM_INTERNAL(log10_finite)
  414. TLI_DEFINE_STRING_INTERNAL("__log10_finite")
  415. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  416. /// float __log10f_finite(float x);
  417. TLI_DEFINE_ENUM_INTERNAL(log10f_finite)
  418. TLI_DEFINE_STRING_INTERNAL("__log10f_finite")
  419. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  420. /// long double __log10l_finite(long double x);
  421. TLI_DEFINE_ENUM_INTERNAL(log10l_finite)
  422. TLI_DEFINE_STRING_INTERNAL("__log10l_finite")
  423. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  424. /// double __log2_finite(double x);
  425. TLI_DEFINE_ENUM_INTERNAL(log2_finite)
  426. TLI_DEFINE_STRING_INTERNAL("__log2_finite")
  427. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  428. /// float __log2f_finite(float x);
  429. TLI_DEFINE_ENUM_INTERNAL(log2f_finite)
  430. TLI_DEFINE_STRING_INTERNAL("__log2f_finite")
  431. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  432. /// long double __log2l_finite(long double x);
  433. TLI_DEFINE_ENUM_INTERNAL(log2l_finite)
  434. TLI_DEFINE_STRING_INTERNAL("__log2l_finite")
  435. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  436. /// double __log_finite(double x);
  437. TLI_DEFINE_ENUM_INTERNAL(log_finite)
  438. TLI_DEFINE_STRING_INTERNAL("__log_finite")
  439. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  440. /// float __logf_finite(float x);
  441. TLI_DEFINE_ENUM_INTERNAL(logf_finite)
  442. TLI_DEFINE_STRING_INTERNAL("__logf_finite")
  443. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  444. /// long double __logl_finite(long double x);
  445. TLI_DEFINE_ENUM_INTERNAL(logl_finite)
  446. TLI_DEFINE_STRING_INTERNAL("__logl_finite")
  447. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  448. /// void *__memccpy_chk(void *dst, const void *src, int c, size_t n,
  449. /// size_t dstsize)
  450. TLI_DEFINE_ENUM_INTERNAL(memccpy_chk)
  451. TLI_DEFINE_STRING_INTERNAL("__memccpy_chk")
  452. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, Int, SizeT, SizeT)
  453. /// void *__memcpy_chk(void *s1, const void *s2, size_t n, size_t s1size);
  454. TLI_DEFINE_ENUM_INTERNAL(memcpy_chk)
  455. TLI_DEFINE_STRING_INTERNAL("__memcpy_chk")
  456. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT, SizeT)
  457. /// void *__memmove_chk(void *s1, const void *s2, size_t n, size_t s1size);
  458. TLI_DEFINE_ENUM_INTERNAL(memmove_chk)
  459. TLI_DEFINE_STRING_INTERNAL("__memmove_chk")
  460. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT, SizeT)
  461. /// void *__mempcpy_chk(void *s1, const void *s2, size_t n, size_t s1size);
  462. TLI_DEFINE_ENUM_INTERNAL(mempcpy_chk)
  463. TLI_DEFINE_STRING_INTERNAL("__mempcpy_chk")
  464. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT, SizeT)
  465. /// void *__memset_chk(void *s, int v, size_t n, size_t s1size);
  466. TLI_DEFINE_ENUM_INTERNAL(memset_chk)
  467. TLI_DEFINE_STRING_INTERNAL("__memset_chk")
  468. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Int, SizeT, SizeT)
  469. // int __nvvm_reflect(const char *)
  470. TLI_DEFINE_ENUM_INTERNAL(nvvm_reflect)
  471. TLI_DEFINE_STRING_INTERNAL("__nvvm_reflect")
  472. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  473. /// double __pow_finite(double x, double y);
  474. TLI_DEFINE_ENUM_INTERNAL(pow_finite)
  475. TLI_DEFINE_STRING_INTERNAL("__pow_finite")
  476. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl, Dbl)
  477. /// float _powf_finite(float x, float y);
  478. TLI_DEFINE_ENUM_INTERNAL(powf_finite)
  479. TLI_DEFINE_STRING_INTERNAL("__powf_finite")
  480. TLI_DEFINE_SIG_INTERNAL(Flt, Flt, Flt)
  481. /// long double __powl_finite(long double x, long double y);
  482. TLI_DEFINE_ENUM_INTERNAL(powl_finite)
  483. TLI_DEFINE_STRING_INTERNAL("__powl_finite")
  484. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl, LDbl)
  485. /// double __sincospi_stret(double x);
  486. TLI_DEFINE_ENUM_INTERNAL(sincospi_stret)
  487. TLI_DEFINE_STRING_INTERNAL("__sincospi_stret")
  488. TLI_DEFINE_SIG_INTERNAL(/* Checked manually. */)
  489. /// float __sincospif_stret(float x);
  490. TLI_DEFINE_ENUM_INTERNAL(sincospif_stret)
  491. TLI_DEFINE_STRING_INTERNAL("__sincospif_stret")
  492. TLI_DEFINE_SIG_INTERNAL(/* Checked manually. */)
  493. /// double __sinh_finite(double x);
  494. TLI_DEFINE_ENUM_INTERNAL(sinh_finite)
  495. TLI_DEFINE_STRING_INTERNAL("__sinh_finite")
  496. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  497. /// float _sinhf_finite(float x);
  498. TLI_DEFINE_ENUM_INTERNAL(sinhf_finite)
  499. TLI_DEFINE_STRING_INTERNAL("__sinhf_finite")
  500. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  501. /// long double __sinhl_finite(long double x);
  502. TLI_DEFINE_ENUM_INTERNAL(sinhl_finite)
  503. TLI_DEFINE_STRING_INTERNAL("__sinhl_finite")
  504. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  505. /// double __sinpi(double x);
  506. TLI_DEFINE_ENUM_INTERNAL(sinpi)
  507. TLI_DEFINE_STRING_INTERNAL("__sinpi")
  508. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  509. /// float __sinpif(float x);
  510. TLI_DEFINE_ENUM_INTERNAL(sinpif)
  511. TLI_DEFINE_STRING_INTERNAL("__sinpif")
  512. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  513. /// int __small_fprintf(FILE *stream, const char *format, ...);
  514. TLI_DEFINE_ENUM_INTERNAL(small_fprintf)
  515. TLI_DEFINE_STRING_INTERNAL("__small_fprintf")
  516. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ellip)
  517. /// int __small_printf(const char *format, ...);
  518. TLI_DEFINE_ENUM_INTERNAL(small_printf)
  519. TLI_DEFINE_STRING_INTERNAL("__small_printf")
  520. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ellip)
  521. /// int __small_sprintf(char *str, const char *format, ...);
  522. TLI_DEFINE_ENUM_INTERNAL(small_sprintf)
  523. TLI_DEFINE_STRING_INTERNAL("__small_sprintf")
  524. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ellip)
  525. /// int __snprintf_chk(char *s, size_t n, int flags, size_t slen,
  526. /// const char *format, ...);
  527. TLI_DEFINE_ENUM_INTERNAL(snprintf_chk)
  528. TLI_DEFINE_STRING_INTERNAL("__snprintf_chk")
  529. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, SizeT, Int, SizeT, Ptr, Ellip)
  530. /// int __sprintf_chk(char *str, int flags, size_t str_len,
  531. /// const char *format, ...);
  532. TLI_DEFINE_ENUM_INTERNAL(sprintf_chk)
  533. TLI_DEFINE_STRING_INTERNAL("__sprintf_chk")
  534. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Int, SizeT, Ptr, Ellip)
  535. /// double __sqrt_finite(double x);
  536. TLI_DEFINE_ENUM_INTERNAL(sqrt_finite)
  537. TLI_DEFINE_STRING_INTERNAL("__sqrt_finite")
  538. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  539. /// float __sqrt_finite(float x);
  540. TLI_DEFINE_ENUM_INTERNAL(sqrtf_finite)
  541. TLI_DEFINE_STRING_INTERNAL("__sqrtf_finite")
  542. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  543. /// long double __sqrt_finite(long double x);
  544. TLI_DEFINE_ENUM_INTERNAL(sqrtl_finite)
  545. TLI_DEFINE_STRING_INTERNAL("__sqrtl_finite")
  546. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  547. /// char *__stpcpy_chk(char *s1, const char *s2, size_t s1size);
  548. TLI_DEFINE_ENUM_INTERNAL(stpcpy_chk)
  549. TLI_DEFINE_STRING_INTERNAL("__stpcpy_chk")
  550. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT)
  551. /// char *__stpncpy_chk(char *s1, const char *s2, size_t n, size_t s1size);
  552. TLI_DEFINE_ENUM_INTERNAL(stpncpy_chk)
  553. TLI_DEFINE_STRING_INTERNAL("__stpncpy_chk")
  554. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT, SizeT)
  555. /// char *__strcat_chk(char *s1, const char *s2, size_t s1size);
  556. TLI_DEFINE_ENUM_INTERNAL(strcat_chk)
  557. TLI_DEFINE_STRING_INTERNAL("__strcat_chk")
  558. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT)
  559. /// char *__strcpy_chk(char *s1, const char *s2, size_t s1size);
  560. TLI_DEFINE_ENUM_INTERNAL(strcpy_chk)
  561. TLI_DEFINE_STRING_INTERNAL("__strcpy_chk")
  562. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT)
  563. /// char * __strdup(const char *s);
  564. TLI_DEFINE_ENUM_INTERNAL(dunder_strdup)
  565. TLI_DEFINE_STRING_INTERNAL("__strdup")
  566. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr)
  567. /// size_t __strlcat_chk(char *dst, const char *src, size_t size,
  568. /// size_t dstsize);
  569. TLI_DEFINE_ENUM_INTERNAL(strlcat_chk)
  570. TLI_DEFINE_STRING_INTERNAL("__strlcat_chk")
  571. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr, Ptr, SizeT, SizeT)
  572. /// size_t __strlcpy_chk(char *dst, const char *src, size_t size,
  573. /// size_t dstsize);
  574. TLI_DEFINE_ENUM_INTERNAL(strlcpy_chk)
  575. TLI_DEFINE_STRING_INTERNAL("__strlcpy_chk")
  576. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr, Ptr, SizeT, SizeT)
  577. /// size_t __strlen_chk(const char *s1, size_t s1size);
  578. TLI_DEFINE_ENUM_INTERNAL(strlen_chk)
  579. TLI_DEFINE_STRING_INTERNAL("__strlen_chk")
  580. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr, SizeT)
  581. /// char *strncat_chk(char *s1, const char *s2, size_t n, size_t s1size);
  582. TLI_DEFINE_ENUM_INTERNAL(strncat_chk)
  583. TLI_DEFINE_STRING_INTERNAL("__strncat_chk")
  584. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT, SizeT)
  585. /// char *__strncpy_chk(char *s1, const char *s2, size_t n, size_t s1size);
  586. TLI_DEFINE_ENUM_INTERNAL(strncpy_chk)
  587. TLI_DEFINE_STRING_INTERNAL("__strncpy_chk")
  588. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT, SizeT)
  589. /// char *__strndup(const char *s, size_t n);
  590. TLI_DEFINE_ENUM_INTERNAL(dunder_strndup)
  591. TLI_DEFINE_STRING_INTERNAL("__strndup")
  592. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, SizeT)
  593. /// char * __strtok_r(char *s, const char *delim, char **save_ptr);
  594. TLI_DEFINE_ENUM_INTERNAL(dunder_strtok_r)
  595. TLI_DEFINE_STRING_INTERNAL("__strtok_r")
  596. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, Ptr)
  597. /// int __vsnprintf_chk(char *s, size_t n, int flags, size_t slen,
  598. /// const char *format, va_list ap);
  599. TLI_DEFINE_ENUM_INTERNAL(vsnprintf_chk)
  600. TLI_DEFINE_STRING_INTERNAL("__vsnprintf_chk")
  601. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, SizeT, Int, SizeT, Ptr, Ptr)
  602. /// int __vsprintf_chk(char *s, int flags, size_t slen, const char *format,
  603. /// va_list ap);
  604. TLI_DEFINE_ENUM_INTERNAL(vsprintf_chk)
  605. TLI_DEFINE_STRING_INTERNAL("__vsprintf_chk")
  606. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Int, SizeT, Ptr, Ptr)
  607. /// int abs(int j);
  608. TLI_DEFINE_ENUM_INTERNAL(abs)
  609. TLI_DEFINE_STRING_INTERNAL("abs")
  610. TLI_DEFINE_SIG_INTERNAL(Int, Int)
  611. /// int access(const char *path, int amode);
  612. TLI_DEFINE_ENUM_INTERNAL(access)
  613. TLI_DEFINE_STRING_INTERNAL("access")
  614. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Int)
  615. /// double acos(double x);
  616. TLI_DEFINE_ENUM_INTERNAL(acos)
  617. TLI_DEFINE_STRING_INTERNAL("acos")
  618. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  619. /// float acosf(float x);
  620. TLI_DEFINE_ENUM_INTERNAL(acosf)
  621. TLI_DEFINE_STRING_INTERNAL("acosf")
  622. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  623. /// double acosh(double x);
  624. TLI_DEFINE_ENUM_INTERNAL(acosh)
  625. TLI_DEFINE_STRING_INTERNAL("acosh")
  626. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  627. /// float acoshf(float x);
  628. TLI_DEFINE_ENUM_INTERNAL(acoshf)
  629. TLI_DEFINE_STRING_INTERNAL("acoshf")
  630. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  631. /// long double acoshl(long double x);
  632. TLI_DEFINE_ENUM_INTERNAL(acoshl)
  633. TLI_DEFINE_STRING_INTERNAL("acoshl")
  634. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  635. /// long double acosl(long double x);
  636. TLI_DEFINE_ENUM_INTERNAL(acosl)
  637. TLI_DEFINE_STRING_INTERNAL("acosl")
  638. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  639. /// void *aligned_alloc(size_t alignment, size_t size);
  640. TLI_DEFINE_ENUM_INTERNAL(aligned_alloc)
  641. TLI_DEFINE_STRING_INTERNAL("aligned_alloc")
  642. TLI_DEFINE_SIG_INTERNAL(Ptr, SizeT, SizeT)
  643. /// double asin(double x);
  644. TLI_DEFINE_ENUM_INTERNAL(asin)
  645. TLI_DEFINE_STRING_INTERNAL("asin")
  646. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  647. /// float asinf(float x);
  648. TLI_DEFINE_ENUM_INTERNAL(asinf)
  649. TLI_DEFINE_STRING_INTERNAL("asinf")
  650. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  651. /// double asinh(double x);
  652. TLI_DEFINE_ENUM_INTERNAL(asinh)
  653. TLI_DEFINE_STRING_INTERNAL("asinh")
  654. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  655. /// float asinhf(float x);
  656. TLI_DEFINE_ENUM_INTERNAL(asinhf)
  657. TLI_DEFINE_STRING_INTERNAL("asinhf")
  658. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  659. /// long double asinhl(long double x);
  660. TLI_DEFINE_ENUM_INTERNAL(asinhl)
  661. TLI_DEFINE_STRING_INTERNAL("asinhl")
  662. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  663. /// long double asinl(long double x);
  664. TLI_DEFINE_ENUM_INTERNAL(asinl)
  665. TLI_DEFINE_STRING_INTERNAL("asinl")
  666. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  667. /// double atan(double x);
  668. TLI_DEFINE_ENUM_INTERNAL(atan)
  669. TLI_DEFINE_STRING_INTERNAL("atan")
  670. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  671. /// double atan2(double y, double x);
  672. TLI_DEFINE_ENUM_INTERNAL(atan2)
  673. TLI_DEFINE_STRING_INTERNAL("atan2")
  674. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl, Dbl)
  675. /// float atan2f(float y, float x);
  676. TLI_DEFINE_ENUM_INTERNAL(atan2f)
  677. TLI_DEFINE_STRING_INTERNAL("atan2f")
  678. TLI_DEFINE_SIG_INTERNAL(Flt, Flt, Flt)
  679. /// long double atan2l(long double y, long double x);
  680. TLI_DEFINE_ENUM_INTERNAL(atan2l)
  681. TLI_DEFINE_STRING_INTERNAL("atan2l")
  682. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl, LDbl)
  683. /// float atanf(float x);
  684. TLI_DEFINE_ENUM_INTERNAL(atanf)
  685. TLI_DEFINE_STRING_INTERNAL("atanf")
  686. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  687. /// double atanh(double x);
  688. TLI_DEFINE_ENUM_INTERNAL(atanh)
  689. TLI_DEFINE_STRING_INTERNAL("atanh")
  690. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  691. /// float atanhf(float x);
  692. TLI_DEFINE_ENUM_INTERNAL(atanhf)
  693. TLI_DEFINE_STRING_INTERNAL("atanhf")
  694. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  695. /// long double atanhl(long double x);
  696. TLI_DEFINE_ENUM_INTERNAL(atanhl)
  697. TLI_DEFINE_STRING_INTERNAL("atanhl")
  698. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  699. /// long double atanl(long double x);
  700. TLI_DEFINE_ENUM_INTERNAL(atanl)
  701. TLI_DEFINE_STRING_INTERNAL("atanl")
  702. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  703. /// double atof(const char *str);
  704. TLI_DEFINE_ENUM_INTERNAL(atof)
  705. TLI_DEFINE_STRING_INTERNAL("atof")
  706. TLI_DEFINE_SIG_INTERNAL(Dbl, Ptr)
  707. /// int atoi(const char *str);
  708. TLI_DEFINE_ENUM_INTERNAL(atoi)
  709. TLI_DEFINE_STRING_INTERNAL("atoi")
  710. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  711. /// long atol(const char *str);
  712. TLI_DEFINE_ENUM_INTERNAL(atol)
  713. TLI_DEFINE_STRING_INTERNAL("atol")
  714. TLI_DEFINE_SIG_INTERNAL(Long, Ptr)
  715. /// long long atoll(const char *nptr);
  716. TLI_DEFINE_ENUM_INTERNAL(atoll)
  717. TLI_DEFINE_STRING_INTERNAL("atoll")
  718. TLI_DEFINE_SIG_INTERNAL(LLong, Ptr)
  719. /// int bcmp(const void *s1, const void *s2, size_t n);
  720. TLI_DEFINE_ENUM_INTERNAL(bcmp)
  721. TLI_DEFINE_STRING_INTERNAL("bcmp")
  722. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, SizeT)
  723. /// void bcopy(const void *s1, void *s2, size_t n);
  724. TLI_DEFINE_ENUM_INTERNAL(bcopy)
  725. TLI_DEFINE_STRING_INTERNAL("bcopy")
  726. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Ptr, SizeT)
  727. /// void bzero(void *s, size_t n);
  728. TLI_DEFINE_ENUM_INTERNAL(bzero)
  729. TLI_DEFINE_STRING_INTERNAL("bzero")
  730. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, SizeT)
  731. /// double cabs(double complex z)
  732. TLI_DEFINE_ENUM_INTERNAL(cabs)
  733. TLI_DEFINE_STRING_INTERNAL("cabs")
  734. TLI_DEFINE_SIG_INTERNAL(/* Checked manually. */)
  735. /// float cabs(float complex z)
  736. TLI_DEFINE_ENUM_INTERNAL(cabsf)
  737. TLI_DEFINE_STRING_INTERNAL("cabsf")
  738. TLI_DEFINE_SIG_INTERNAL(/* Checked manually. */)
  739. /// long double cabs(long double complex z)
  740. TLI_DEFINE_ENUM_INTERNAL(cabsl)
  741. TLI_DEFINE_STRING_INTERNAL("cabsl")
  742. TLI_DEFINE_SIG_INTERNAL(/* Checked manually. */)
  743. /// void *calloc(size_t count, size_t size);
  744. TLI_DEFINE_ENUM_INTERNAL(calloc)
  745. TLI_DEFINE_STRING_INTERNAL("calloc")
  746. TLI_DEFINE_SIG_INTERNAL(Ptr, SizeT, SizeT)
  747. /// double cbrt(double x);
  748. TLI_DEFINE_ENUM_INTERNAL(cbrt)
  749. TLI_DEFINE_STRING_INTERNAL("cbrt")
  750. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  751. /// float cbrtf(float x);
  752. TLI_DEFINE_ENUM_INTERNAL(cbrtf)
  753. TLI_DEFINE_STRING_INTERNAL("cbrtf")
  754. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  755. /// long double cbrtl(long double x);
  756. TLI_DEFINE_ENUM_INTERNAL(cbrtl)
  757. TLI_DEFINE_STRING_INTERNAL("cbrtl")
  758. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  759. /// double ceil(double x);
  760. TLI_DEFINE_ENUM_INTERNAL(ceil)
  761. TLI_DEFINE_STRING_INTERNAL("ceil")
  762. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  763. /// float ceilf(float x);
  764. TLI_DEFINE_ENUM_INTERNAL(ceilf)
  765. TLI_DEFINE_STRING_INTERNAL("ceilf")
  766. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  767. /// long double ceill(long double x);
  768. TLI_DEFINE_ENUM_INTERNAL(ceill)
  769. TLI_DEFINE_STRING_INTERNAL("ceill")
  770. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  771. /// int chmod(const char *path, mode_t mode);
  772. TLI_DEFINE_ENUM_INTERNAL(chmod)
  773. TLI_DEFINE_STRING_INTERNAL("chmod")
  774. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, IntX)
  775. /// int chown(const char *path, uid_t owner, gid_t group);
  776. TLI_DEFINE_ENUM_INTERNAL(chown)
  777. TLI_DEFINE_STRING_INTERNAL("chown")
  778. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, IntX, IntX)
  779. /// void clearerr(FILE *stream);
  780. TLI_DEFINE_ENUM_INTERNAL(clearerr)
  781. TLI_DEFINE_STRING_INTERNAL("clearerr")
  782. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  783. /// int closedir(DIR *dirp);
  784. TLI_DEFINE_ENUM_INTERNAL(closedir)
  785. TLI_DEFINE_STRING_INTERNAL("closedir")
  786. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  787. /// double copysign(double x, double y);
  788. TLI_DEFINE_ENUM_INTERNAL(copysign)
  789. TLI_DEFINE_STRING_INTERNAL("copysign")
  790. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl, Dbl)
  791. /// float copysignf(float x, float y);
  792. TLI_DEFINE_ENUM_INTERNAL(copysignf)
  793. TLI_DEFINE_STRING_INTERNAL("copysignf")
  794. TLI_DEFINE_SIG_INTERNAL(Flt, Flt, Flt)
  795. /// long double copysignl(long double x, long double y);
  796. TLI_DEFINE_ENUM_INTERNAL(copysignl)
  797. TLI_DEFINE_STRING_INTERNAL("copysignl")
  798. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl, LDbl)
  799. /// double cos(double x);
  800. TLI_DEFINE_ENUM_INTERNAL(cos)
  801. TLI_DEFINE_STRING_INTERNAL("cos")
  802. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  803. /// float cosf(float x);
  804. TLI_DEFINE_ENUM_INTERNAL(cosf)
  805. TLI_DEFINE_STRING_INTERNAL("cosf")
  806. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  807. /// double cosh(double x);
  808. TLI_DEFINE_ENUM_INTERNAL(cosh)
  809. TLI_DEFINE_STRING_INTERNAL("cosh")
  810. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  811. /// float coshf(float x);
  812. TLI_DEFINE_ENUM_INTERNAL(coshf)
  813. TLI_DEFINE_STRING_INTERNAL("coshf")
  814. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  815. /// long double coshl(long double x);
  816. TLI_DEFINE_ENUM_INTERNAL(coshl)
  817. TLI_DEFINE_STRING_INTERNAL("coshl")
  818. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  819. /// long double cosl(long double x);
  820. TLI_DEFINE_ENUM_INTERNAL(cosl)
  821. TLI_DEFINE_STRING_INTERNAL("cosl")
  822. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  823. /// char *ctermid(char *s);
  824. TLI_DEFINE_ENUM_INTERNAL(ctermid)
  825. TLI_DEFINE_STRING_INTERNAL("ctermid")
  826. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr)
  827. /// int execl(const char *path, const char *arg, ...);
  828. TLI_DEFINE_ENUM_INTERNAL(execl)
  829. TLI_DEFINE_STRING_INTERNAL("execl")
  830. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ellip)
  831. /// int execle(const char *file, const char *arg, ..., char * const envp[]);
  832. TLI_DEFINE_ENUM_INTERNAL(execle)
  833. TLI_DEFINE_STRING_INTERNAL("execle")
  834. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ellip)
  835. /// int execlp(const char *file, const char *arg, ...);
  836. TLI_DEFINE_ENUM_INTERNAL(execlp)
  837. TLI_DEFINE_STRING_INTERNAL("execlp")
  838. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ellip)
  839. /// int execv(const char *path, char *const argv[]);
  840. TLI_DEFINE_ENUM_INTERNAL(execv)
  841. TLI_DEFINE_STRING_INTERNAL("execv")
  842. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  843. /// int execvP(const char *file, const char *search_path, char *const argv[]);
  844. TLI_DEFINE_ENUM_INTERNAL(execvP)
  845. TLI_DEFINE_STRING_INTERNAL("execvP")
  846. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ptr)
  847. /// int execve(const char *filename, char *const argv[], char *const envp[]);
  848. TLI_DEFINE_ENUM_INTERNAL(execve)
  849. TLI_DEFINE_STRING_INTERNAL("execve")
  850. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ptr)
  851. /// int execvp(const char *file, char *const argv[]);
  852. TLI_DEFINE_ENUM_INTERNAL(execvp)
  853. TLI_DEFINE_STRING_INTERNAL("execvp")
  854. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  855. /// int execvpe(const char *file, char *const argv[], char *const envp[]);
  856. TLI_DEFINE_ENUM_INTERNAL(execvpe)
  857. TLI_DEFINE_STRING_INTERNAL("execvpe")
  858. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ptr)
  859. /// double exp(double x);
  860. TLI_DEFINE_ENUM_INTERNAL(exp)
  861. TLI_DEFINE_STRING_INTERNAL("exp")
  862. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  863. /// double exp10(double x);
  864. TLI_DEFINE_ENUM_INTERNAL(exp10)
  865. TLI_DEFINE_STRING_INTERNAL("exp10")
  866. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  867. /// float exp10f(float x);
  868. TLI_DEFINE_ENUM_INTERNAL(exp10f)
  869. TLI_DEFINE_STRING_INTERNAL("exp10f")
  870. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  871. /// long double exp10l(long double x);
  872. TLI_DEFINE_ENUM_INTERNAL(exp10l)
  873. TLI_DEFINE_STRING_INTERNAL("exp10l")
  874. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  875. /// double exp2(double x);
  876. TLI_DEFINE_ENUM_INTERNAL(exp2)
  877. TLI_DEFINE_STRING_INTERNAL("exp2")
  878. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  879. /// float exp2f(float x);
  880. TLI_DEFINE_ENUM_INTERNAL(exp2f)
  881. TLI_DEFINE_STRING_INTERNAL("exp2f")
  882. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  883. /// long double exp2l(long double x);
  884. TLI_DEFINE_ENUM_INTERNAL(exp2l)
  885. TLI_DEFINE_STRING_INTERNAL("exp2l")
  886. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  887. /// float expf(float x);
  888. TLI_DEFINE_ENUM_INTERNAL(expf)
  889. TLI_DEFINE_STRING_INTERNAL("expf")
  890. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  891. /// long double expl(long double x);
  892. TLI_DEFINE_ENUM_INTERNAL(expl)
  893. TLI_DEFINE_STRING_INTERNAL("expl")
  894. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  895. /// double expm1(double x);
  896. TLI_DEFINE_ENUM_INTERNAL(expm1)
  897. TLI_DEFINE_STRING_INTERNAL("expm1")
  898. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  899. /// float expm1f(float x);
  900. TLI_DEFINE_ENUM_INTERNAL(expm1f)
  901. TLI_DEFINE_STRING_INTERNAL("expm1f")
  902. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  903. /// long double expm1l(long double x);
  904. TLI_DEFINE_ENUM_INTERNAL(expm1l)
  905. TLI_DEFINE_STRING_INTERNAL("expm1l")
  906. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  907. /// double fabs(double x);
  908. TLI_DEFINE_ENUM_INTERNAL(fabs)
  909. TLI_DEFINE_STRING_INTERNAL("fabs")
  910. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  911. /// float fabsf(float x);
  912. TLI_DEFINE_ENUM_INTERNAL(fabsf)
  913. TLI_DEFINE_STRING_INTERNAL("fabsf")
  914. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  915. /// long double fabsl(long double x);
  916. TLI_DEFINE_ENUM_INTERNAL(fabsl)
  917. TLI_DEFINE_STRING_INTERNAL("fabsl")
  918. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  919. /// int fclose(FILE *stream);
  920. TLI_DEFINE_ENUM_INTERNAL(fclose)
  921. TLI_DEFINE_STRING_INTERNAL("fclose")
  922. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  923. /// FILE *fdopen(int fildes, const char *mode);
  924. TLI_DEFINE_ENUM_INTERNAL(fdopen)
  925. TLI_DEFINE_STRING_INTERNAL("fdopen")
  926. TLI_DEFINE_SIG_INTERNAL(Ptr, Int, Ptr)
  927. /// int feof(FILE *stream);
  928. TLI_DEFINE_ENUM_INTERNAL(feof)
  929. TLI_DEFINE_STRING_INTERNAL("feof")
  930. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  931. /// int ferror(FILE *stream);
  932. TLI_DEFINE_ENUM_INTERNAL(ferror)
  933. TLI_DEFINE_STRING_INTERNAL("ferror")
  934. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  935. /// int fflush(FILE *stream);
  936. TLI_DEFINE_ENUM_INTERNAL(fflush)
  937. TLI_DEFINE_STRING_INTERNAL("fflush")
  938. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  939. /// int ffs(int i);
  940. TLI_DEFINE_ENUM_INTERNAL(ffs)
  941. TLI_DEFINE_STRING_INTERNAL("ffs")
  942. TLI_DEFINE_SIG_INTERNAL(Int, Int)
  943. /// int ffsl(long int i);
  944. TLI_DEFINE_ENUM_INTERNAL(ffsl)
  945. TLI_DEFINE_STRING_INTERNAL("ffsl")
  946. TLI_DEFINE_SIG_INTERNAL(Int, Long)
  947. /// int ffsll(long long int i);
  948. TLI_DEFINE_ENUM_INTERNAL(ffsll)
  949. TLI_DEFINE_STRING_INTERNAL("ffsll")
  950. TLI_DEFINE_SIG_INTERNAL(Int, LLong)
  951. /// int fgetc(FILE *stream);
  952. TLI_DEFINE_ENUM_INTERNAL(fgetc)
  953. TLI_DEFINE_STRING_INTERNAL("fgetc")
  954. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  955. /// int fgetc_unlocked(FILE *stream);
  956. TLI_DEFINE_ENUM_INTERNAL(fgetc_unlocked)
  957. TLI_DEFINE_STRING_INTERNAL("fgetc_unlocked")
  958. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  959. /// int fgetpos(FILE *stream, fpos_t *pos);
  960. TLI_DEFINE_ENUM_INTERNAL(fgetpos)
  961. TLI_DEFINE_STRING_INTERNAL("fgetpos")
  962. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  963. /// char *fgets(char *s, int n, FILE *stream);
  964. TLI_DEFINE_ENUM_INTERNAL(fgets)
  965. TLI_DEFINE_STRING_INTERNAL("fgets")
  966. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Int, Ptr)
  967. /// char *fgets_unlocked(char *s, int n, FILE *stream);
  968. TLI_DEFINE_ENUM_INTERNAL(fgets_unlocked)
  969. TLI_DEFINE_STRING_INTERNAL("fgets_unlocked")
  970. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Int, Ptr)
  971. /// int fileno(FILE *stream);
  972. TLI_DEFINE_ENUM_INTERNAL(fileno)
  973. TLI_DEFINE_STRING_INTERNAL("fileno")
  974. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  975. /// int fiprintf(FILE *stream, const char *format, ...);
  976. TLI_DEFINE_ENUM_INTERNAL(fiprintf)
  977. TLI_DEFINE_STRING_INTERNAL("fiprintf")
  978. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ellip)
  979. /// void flockfile(FILE *file);
  980. TLI_DEFINE_ENUM_INTERNAL(flockfile)
  981. TLI_DEFINE_STRING_INTERNAL("flockfile")
  982. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  983. /// double floor(double x);
  984. TLI_DEFINE_ENUM_INTERNAL(floor)
  985. TLI_DEFINE_STRING_INTERNAL("floor")
  986. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  987. /// float floorf(float x);
  988. TLI_DEFINE_ENUM_INTERNAL(floorf)
  989. TLI_DEFINE_STRING_INTERNAL("floorf")
  990. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  991. /// long double floorl(long double x);
  992. TLI_DEFINE_ENUM_INTERNAL(floorl)
  993. TLI_DEFINE_STRING_INTERNAL("floorl")
  994. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  995. /// int fls(int i);
  996. TLI_DEFINE_ENUM_INTERNAL(fls)
  997. TLI_DEFINE_STRING_INTERNAL("fls")
  998. TLI_DEFINE_SIG_INTERNAL(Int, Int)
  999. /// int flsl(long int i);
  1000. TLI_DEFINE_ENUM_INTERNAL(flsl)
  1001. TLI_DEFINE_STRING_INTERNAL("flsl")
  1002. TLI_DEFINE_SIG_INTERNAL(Int, Long)
  1003. /// int flsll(long long int i);
  1004. TLI_DEFINE_ENUM_INTERNAL(flsll)
  1005. TLI_DEFINE_STRING_INTERNAL("flsll")
  1006. TLI_DEFINE_SIG_INTERNAL(Int, LLong)
  1007. // Calls to fmax and fmin library functions expand to the llvm.maxnnum and
  1008. // llvm.minnum intrinsics with the correct parameter types for the arguments
  1009. // (all types must match).
  1010. /// double fmax(double x, double y);
  1011. TLI_DEFINE_ENUM_INTERNAL(fmax)
  1012. TLI_DEFINE_STRING_INTERNAL("fmax")
  1013. TLI_DEFINE_SIG_INTERNAL(Floating, Same, Same)
  1014. /// float fmaxf(float x, float y);
  1015. TLI_DEFINE_ENUM_INTERNAL(fmaxf)
  1016. TLI_DEFINE_STRING_INTERNAL("fmaxf")
  1017. TLI_DEFINE_SIG_INTERNAL(Floating, Same, Same)
  1018. /// long double fmaxl(long double x, long double y);
  1019. TLI_DEFINE_ENUM_INTERNAL(fmaxl)
  1020. TLI_DEFINE_STRING_INTERNAL("fmaxl")
  1021. TLI_DEFINE_SIG_INTERNAL(Floating, Same, Same)
  1022. /// double fmin(double x, double y);
  1023. TLI_DEFINE_ENUM_INTERNAL(fmin)
  1024. TLI_DEFINE_STRING_INTERNAL("fmin")
  1025. TLI_DEFINE_SIG_INTERNAL(Floating, Same, Same)
  1026. /// float fminf(float x, float y);
  1027. TLI_DEFINE_ENUM_INTERNAL(fminf)
  1028. TLI_DEFINE_STRING_INTERNAL("fminf")
  1029. TLI_DEFINE_SIG_INTERNAL(Floating, Same, Same)
  1030. /// long double fminl(long double x, long double y);
  1031. TLI_DEFINE_ENUM_INTERNAL(fminl)
  1032. TLI_DEFINE_STRING_INTERNAL("fminl")
  1033. TLI_DEFINE_SIG_INTERNAL(Floating, Same, Same)
  1034. /// double fmod(double x, double y);
  1035. TLI_DEFINE_ENUM_INTERNAL(fmod)
  1036. TLI_DEFINE_STRING_INTERNAL("fmod")
  1037. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl, Dbl)
  1038. /// float fmodf(float x, float y);
  1039. TLI_DEFINE_ENUM_INTERNAL(fmodf)
  1040. TLI_DEFINE_STRING_INTERNAL("fmodf")
  1041. TLI_DEFINE_SIG_INTERNAL(Flt, Flt, Flt)
  1042. /// long double fmodl(long double x, long double y);
  1043. TLI_DEFINE_ENUM_INTERNAL(fmodl)
  1044. TLI_DEFINE_STRING_INTERNAL("fmodl")
  1045. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl, LDbl)
  1046. /// FILE *fopen(const char *filename, const char *mode);
  1047. TLI_DEFINE_ENUM_INTERNAL(fopen)
  1048. TLI_DEFINE_STRING_INTERNAL("fopen")
  1049. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr)
  1050. /// FILE *fopen64(const char *filename, const char *opentype)
  1051. TLI_DEFINE_ENUM_INTERNAL(fopen64)
  1052. TLI_DEFINE_STRING_INTERNAL("fopen64")
  1053. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr)
  1054. /// int fork();
  1055. TLI_DEFINE_ENUM_INTERNAL(fork)
  1056. TLI_DEFINE_STRING_INTERNAL("fork")
  1057. TLI_DEFINE_SIG_INTERNAL(Int)
  1058. /// int fprintf(FILE *stream, const char *format, ...);
  1059. TLI_DEFINE_ENUM_INTERNAL(fprintf)
  1060. TLI_DEFINE_STRING_INTERNAL("fprintf")
  1061. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ellip)
  1062. /// int fputc(int c, FILE *stream);
  1063. TLI_DEFINE_ENUM_INTERNAL(fputc)
  1064. TLI_DEFINE_STRING_INTERNAL("fputc")
  1065. TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr)
  1066. /// int fputc_unlocked(int c, FILE *stream);
  1067. TLI_DEFINE_ENUM_INTERNAL(fputc_unlocked)
  1068. TLI_DEFINE_STRING_INTERNAL("fputc_unlocked")
  1069. TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr)
  1070. /// int fputs(const char *s, FILE *stream);
  1071. TLI_DEFINE_ENUM_INTERNAL(fputs)
  1072. TLI_DEFINE_STRING_INTERNAL("fputs")
  1073. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1074. /// int fputs_unlocked(const char *s, FILE *stream);
  1075. TLI_DEFINE_ENUM_INTERNAL(fputs_unlocked)
  1076. TLI_DEFINE_STRING_INTERNAL("fputs_unlocked")
  1077. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1078. /// size_t fread(void *ptr, size_t size, size_t nitems, FILE *stream);
  1079. TLI_DEFINE_ENUM_INTERNAL(fread)
  1080. TLI_DEFINE_STRING_INTERNAL("fread")
  1081. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr, SizeT, SizeT, Ptr)
  1082. /// size_t fread_unlocked(void *ptr, size_t size, size_t nitems, FILE *stream);
  1083. TLI_DEFINE_ENUM_INTERNAL(fread_unlocked)
  1084. TLI_DEFINE_STRING_INTERNAL("fread_unlocked")
  1085. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr, SizeT, SizeT, Ptr)
  1086. /// void free(void *ptr);
  1087. TLI_DEFINE_ENUM_INTERNAL(free)
  1088. TLI_DEFINE_STRING_INTERNAL("free")
  1089. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  1090. /// double frexp(double num, int *exp);
  1091. TLI_DEFINE_ENUM_INTERNAL(frexp)
  1092. TLI_DEFINE_STRING_INTERNAL("frexp")
  1093. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl, Ptr)
  1094. /// float frexpf(float num, int *exp);
  1095. TLI_DEFINE_ENUM_INTERNAL(frexpf)
  1096. TLI_DEFINE_STRING_INTERNAL("frexpf")
  1097. TLI_DEFINE_SIG_INTERNAL(Flt, Flt, Ptr)
  1098. /// long double frexpl(long double num, int *exp);
  1099. TLI_DEFINE_ENUM_INTERNAL(frexpl)
  1100. TLI_DEFINE_STRING_INTERNAL("frexpl")
  1101. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl, Ptr)
  1102. /// int fscanf(FILE *stream, const char *format, ... );
  1103. TLI_DEFINE_ENUM_INTERNAL(fscanf)
  1104. TLI_DEFINE_STRING_INTERNAL("fscanf")
  1105. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ellip)
  1106. /// int fseek(FILE *stream, long offset, int whence);
  1107. TLI_DEFINE_ENUM_INTERNAL(fseek)
  1108. TLI_DEFINE_STRING_INTERNAL("fseek")
  1109. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Long, Int)
  1110. /// int fseeko(FILE *stream, off_t offset, int whence);
  1111. TLI_DEFINE_ENUM_INTERNAL(fseeko)
  1112. TLI_DEFINE_STRING_INTERNAL("fseeko")
  1113. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, IntX, Int)
  1114. /// int fseeko64(FILE *stream, off64_t offset, int whence)
  1115. TLI_DEFINE_ENUM_INTERNAL(fseeko64)
  1116. TLI_DEFINE_STRING_INTERNAL("fseeko64")
  1117. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Int64, Int)
  1118. /// int fsetpos(FILE *stream, const fpos_t *pos);
  1119. TLI_DEFINE_ENUM_INTERNAL(fsetpos)
  1120. TLI_DEFINE_STRING_INTERNAL("fsetpos")
  1121. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1122. /// int fstat(int fildes, struct stat *buf);
  1123. TLI_DEFINE_ENUM_INTERNAL(fstat)
  1124. TLI_DEFINE_STRING_INTERNAL("fstat")
  1125. TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr)
  1126. /// int fstat64(int filedes, struct stat64 *buf)
  1127. TLI_DEFINE_ENUM_INTERNAL(fstat64)
  1128. TLI_DEFINE_STRING_INTERNAL("fstat64")
  1129. TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr)
  1130. /// int fstatvfs(int fildes, struct statvfs *buf);
  1131. TLI_DEFINE_ENUM_INTERNAL(fstatvfs)
  1132. TLI_DEFINE_STRING_INTERNAL("fstatvfs")
  1133. TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr)
  1134. /// int fstatvfs64(int fildes, struct statvfs64 *buf);
  1135. TLI_DEFINE_ENUM_INTERNAL(fstatvfs64)
  1136. TLI_DEFINE_STRING_INTERNAL("fstatvfs64")
  1137. TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr)
  1138. /// long ftell(FILE *stream);
  1139. TLI_DEFINE_ENUM_INTERNAL(ftell)
  1140. TLI_DEFINE_STRING_INTERNAL("ftell")
  1141. TLI_DEFINE_SIG_INTERNAL(Long, Ptr)
  1142. /// off_t ftello(FILE *stream);
  1143. TLI_DEFINE_ENUM_INTERNAL(ftello)
  1144. TLI_DEFINE_STRING_INTERNAL("ftello")
  1145. TLI_DEFINE_SIG_INTERNAL(IntPlus, Ptr)
  1146. /// off64_t ftello64(FILE *stream)
  1147. TLI_DEFINE_ENUM_INTERNAL(ftello64)
  1148. TLI_DEFINE_STRING_INTERNAL("ftello64")
  1149. TLI_DEFINE_SIG_INTERNAL(Int64, Ptr)
  1150. /// int ftrylockfile(FILE *file);
  1151. TLI_DEFINE_ENUM_INTERNAL(ftrylockfile)
  1152. TLI_DEFINE_STRING_INTERNAL("ftrylockfile")
  1153. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  1154. /// void funlockfile(FILE *file);
  1155. TLI_DEFINE_ENUM_INTERNAL(funlockfile)
  1156. TLI_DEFINE_STRING_INTERNAL("funlockfile")
  1157. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  1158. /// size_t fwrite(const void *ptr, size_t size, size_t nitems, FILE *stream);
  1159. TLI_DEFINE_ENUM_INTERNAL(fwrite)
  1160. TLI_DEFINE_STRING_INTERNAL("fwrite")
  1161. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr, SizeT, SizeT, Ptr)
  1162. /// size_t fwrite_unlocked(const void *ptr, size_t size, size_t nitems, FILE *stream);
  1163. TLI_DEFINE_ENUM_INTERNAL(fwrite_unlocked)
  1164. TLI_DEFINE_STRING_INTERNAL("fwrite_unlocked")
  1165. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr, SizeT, SizeT, Ptr)
  1166. /// int getc(FILE *stream);
  1167. TLI_DEFINE_ENUM_INTERNAL(getc)
  1168. TLI_DEFINE_STRING_INTERNAL("getc")
  1169. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  1170. /// int getc_unlocked(FILE *stream);
  1171. TLI_DEFINE_ENUM_INTERNAL(getc_unlocked)
  1172. TLI_DEFINE_STRING_INTERNAL("getc_unlocked")
  1173. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  1174. /// int getchar(void);
  1175. TLI_DEFINE_ENUM_INTERNAL(getchar)
  1176. TLI_DEFINE_STRING_INTERNAL("getchar")
  1177. TLI_DEFINE_SIG_INTERNAL(Int)
  1178. /// int getchar_unlocked(void);
  1179. TLI_DEFINE_ENUM_INTERNAL(getchar_unlocked)
  1180. TLI_DEFINE_STRING_INTERNAL("getchar_unlocked")
  1181. TLI_DEFINE_SIG_INTERNAL(Int)
  1182. /// char *getenv(const char *name);
  1183. TLI_DEFINE_ENUM_INTERNAL(getenv)
  1184. TLI_DEFINE_STRING_INTERNAL("getenv")
  1185. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr)
  1186. /// int getitimer(int which, struct itimerval *value);
  1187. TLI_DEFINE_ENUM_INTERNAL(getitimer)
  1188. TLI_DEFINE_STRING_INTERNAL("getitimer")
  1189. TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr)
  1190. /// int getlogin_r(char *name, size_t namesize);
  1191. TLI_DEFINE_ENUM_INTERNAL(getlogin_r)
  1192. TLI_DEFINE_STRING_INTERNAL("getlogin_r")
  1193. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, SizeT)
  1194. /// struct passwd *getpwnam(const char *name);
  1195. TLI_DEFINE_ENUM_INTERNAL(getpwnam)
  1196. TLI_DEFINE_STRING_INTERNAL("getpwnam")
  1197. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr)
  1198. /// char *gets(char *s);
  1199. TLI_DEFINE_ENUM_INTERNAL(gets)
  1200. TLI_DEFINE_STRING_INTERNAL("gets")
  1201. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr)
  1202. /// int gettimeofday(struct timeval *tp, void *tzp);
  1203. TLI_DEFINE_ENUM_INTERNAL(gettimeofday)
  1204. TLI_DEFINE_STRING_INTERNAL("gettimeofday")
  1205. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1206. /// uint32_t htonl(uint32_t hostlong);
  1207. TLI_DEFINE_ENUM_INTERNAL(htonl)
  1208. TLI_DEFINE_STRING_INTERNAL("htonl")
  1209. TLI_DEFINE_SIG_INTERNAL(Int32, Int32)
  1210. /// uint16_t htons(uint16_t hostshort);
  1211. TLI_DEFINE_ENUM_INTERNAL(htons)
  1212. TLI_DEFINE_STRING_INTERNAL("htons")
  1213. TLI_DEFINE_SIG_INTERNAL(Int16, Int16)
  1214. /// int iprintf(const char *format, ...);
  1215. TLI_DEFINE_ENUM_INTERNAL(iprintf)
  1216. TLI_DEFINE_STRING_INTERNAL("iprintf")
  1217. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ellip)
  1218. /// int isascii(int c);
  1219. TLI_DEFINE_ENUM_INTERNAL(isascii)
  1220. TLI_DEFINE_STRING_INTERNAL("isascii")
  1221. TLI_DEFINE_SIG_INTERNAL(Int, Int)
  1222. /// int isdigit(int c);
  1223. TLI_DEFINE_ENUM_INTERNAL(isdigit)
  1224. TLI_DEFINE_STRING_INTERNAL("isdigit")
  1225. TLI_DEFINE_SIG_INTERNAL(Int, Int)
  1226. /// long int labs(long int j);
  1227. TLI_DEFINE_ENUM_INTERNAL(labs)
  1228. TLI_DEFINE_STRING_INTERNAL("labs")
  1229. TLI_DEFINE_SIG_INTERNAL(Long, Long)
  1230. /// int lchown(const char *path, uid_t owner, gid_t group);
  1231. TLI_DEFINE_ENUM_INTERNAL(lchown)
  1232. TLI_DEFINE_STRING_INTERNAL("lchown")
  1233. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, IntX, IntX)
  1234. /// double ldexp(double x, int n);
  1235. TLI_DEFINE_ENUM_INTERNAL(ldexp)
  1236. TLI_DEFINE_STRING_INTERNAL("ldexp")
  1237. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl, Int)
  1238. /// float ldexpf(float x, int n);
  1239. TLI_DEFINE_ENUM_INTERNAL(ldexpf)
  1240. TLI_DEFINE_STRING_INTERNAL("ldexpf")
  1241. TLI_DEFINE_SIG_INTERNAL(Flt, Flt, Int)
  1242. /// long double ldexpl(long double x, int n);
  1243. TLI_DEFINE_ENUM_INTERNAL(ldexpl)
  1244. TLI_DEFINE_STRING_INTERNAL("ldexpl")
  1245. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl, Int)
  1246. /// long long int llabs(long long int j);
  1247. TLI_DEFINE_ENUM_INTERNAL(llabs)
  1248. TLI_DEFINE_STRING_INTERNAL("llabs")
  1249. TLI_DEFINE_SIG_INTERNAL(LLong, LLong)
  1250. /// double log(double x);
  1251. TLI_DEFINE_ENUM_INTERNAL(log)
  1252. TLI_DEFINE_STRING_INTERNAL("log")
  1253. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1254. /// double log10(double x);
  1255. TLI_DEFINE_ENUM_INTERNAL(log10)
  1256. TLI_DEFINE_STRING_INTERNAL("log10")
  1257. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1258. /// float log10f(float x);
  1259. TLI_DEFINE_ENUM_INTERNAL(log10f)
  1260. TLI_DEFINE_STRING_INTERNAL("log10f")
  1261. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1262. /// long double log10l(long double x);
  1263. TLI_DEFINE_ENUM_INTERNAL(log10l)
  1264. TLI_DEFINE_STRING_INTERNAL("log10l")
  1265. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1266. /// double log1p(double x);
  1267. TLI_DEFINE_ENUM_INTERNAL(log1p)
  1268. TLI_DEFINE_STRING_INTERNAL("log1p")
  1269. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1270. /// float log1pf(float x);
  1271. TLI_DEFINE_ENUM_INTERNAL(log1pf)
  1272. TLI_DEFINE_STRING_INTERNAL("log1pf")
  1273. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1274. /// long double log1pl(long double x);
  1275. TLI_DEFINE_ENUM_INTERNAL(log1pl)
  1276. TLI_DEFINE_STRING_INTERNAL("log1pl")
  1277. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1278. /// double log2(double x);
  1279. TLI_DEFINE_ENUM_INTERNAL(log2)
  1280. TLI_DEFINE_STRING_INTERNAL("log2")
  1281. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1282. /// float log2f(float x);
  1283. TLI_DEFINE_ENUM_INTERNAL(log2f)
  1284. TLI_DEFINE_STRING_INTERNAL("log2f")
  1285. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1286. /// double long double log2l(long double x);
  1287. TLI_DEFINE_ENUM_INTERNAL(log2l)
  1288. TLI_DEFINE_STRING_INTERNAL("log2l")
  1289. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1290. /// double logb(double x);
  1291. TLI_DEFINE_ENUM_INTERNAL(logb)
  1292. TLI_DEFINE_STRING_INTERNAL("logb")
  1293. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1294. /// float logbf(float x);
  1295. TLI_DEFINE_ENUM_INTERNAL(logbf)
  1296. TLI_DEFINE_STRING_INTERNAL("logbf")
  1297. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1298. /// long double logbl(long double x);
  1299. TLI_DEFINE_ENUM_INTERNAL(logbl)
  1300. TLI_DEFINE_STRING_INTERNAL("logbl")
  1301. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1302. /// float logf(float x);
  1303. TLI_DEFINE_ENUM_INTERNAL(logf)
  1304. TLI_DEFINE_STRING_INTERNAL("logf")
  1305. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1306. /// long double logl(long double x);
  1307. TLI_DEFINE_ENUM_INTERNAL(logl)
  1308. TLI_DEFINE_STRING_INTERNAL("logl")
  1309. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1310. /// int lstat(const char *path, struct stat *buf);
  1311. TLI_DEFINE_ENUM_INTERNAL(lstat)
  1312. TLI_DEFINE_STRING_INTERNAL("lstat")
  1313. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1314. /// int lstat64(const char *path, struct stat64 *buf);
  1315. TLI_DEFINE_ENUM_INTERNAL(lstat64)
  1316. TLI_DEFINE_STRING_INTERNAL("lstat64")
  1317. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1318. /// void *malloc(size_t size);
  1319. TLI_DEFINE_ENUM_INTERNAL(malloc)
  1320. TLI_DEFINE_STRING_INTERNAL("malloc")
  1321. TLI_DEFINE_SIG_INTERNAL(Ptr, SizeT)
  1322. /// void *memalign(size_t boundary, size_t size);
  1323. TLI_DEFINE_ENUM_INTERNAL(memalign)
  1324. TLI_DEFINE_STRING_INTERNAL("memalign")
  1325. TLI_DEFINE_SIG_INTERNAL(Ptr, SizeT, SizeT)
  1326. /// void *memccpy(void *s1, const void *s2, int c, size_t n);
  1327. TLI_DEFINE_ENUM_INTERNAL(memccpy)
  1328. TLI_DEFINE_STRING_INTERNAL("memccpy")
  1329. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, Int, SizeT)
  1330. /// void *memchr(const void *s, int c, size_t n);
  1331. TLI_DEFINE_ENUM_INTERNAL(memchr)
  1332. TLI_DEFINE_STRING_INTERNAL("memchr")
  1333. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Int, SizeT)
  1334. /// int memcmp(const void *s1, const void *s2, size_t n);
  1335. TLI_DEFINE_ENUM_INTERNAL(memcmp)
  1336. TLI_DEFINE_STRING_INTERNAL("memcmp")
  1337. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, SizeT)
  1338. /// void *memcpy(void *s1, const void *s2, size_t n);
  1339. TLI_DEFINE_ENUM_INTERNAL(memcpy)
  1340. TLI_DEFINE_STRING_INTERNAL("memcpy")
  1341. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT)
  1342. /// void *memmove(void *s1, const void *s2, size_t n);
  1343. TLI_DEFINE_ENUM_INTERNAL(memmove)
  1344. TLI_DEFINE_STRING_INTERNAL("memmove")
  1345. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT)
  1346. /// void *mempcpy(void *s1, const void *s2, size_t n);
  1347. TLI_DEFINE_ENUM_INTERNAL(mempcpy)
  1348. TLI_DEFINE_STRING_INTERNAL("mempcpy")
  1349. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT)
  1350. /// void *memrchr(const void *s, int c, size_t n);
  1351. TLI_DEFINE_ENUM_INTERNAL(memrchr)
  1352. TLI_DEFINE_STRING_INTERNAL("memrchr")
  1353. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Int, SizeT)
  1354. /// void *memset(void *b, int c, size_t len);
  1355. TLI_DEFINE_ENUM_INTERNAL(memset)
  1356. TLI_DEFINE_STRING_INTERNAL("memset")
  1357. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Int, SizeT)
  1358. /// void memset_pattern16(void *b, const void *pattern16, size_t len);
  1359. TLI_DEFINE_ENUM_INTERNAL(memset_pattern16)
  1360. TLI_DEFINE_STRING_INTERNAL("memset_pattern16")
  1361. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Ptr, SizeT)
  1362. /// void memset_pattern4(void *b, const void *pattern4, size_t len);
  1363. TLI_DEFINE_ENUM_INTERNAL(memset_pattern4)
  1364. TLI_DEFINE_STRING_INTERNAL("memset_pattern4")
  1365. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Ptr, SizeT)
  1366. /// void memset_pattern8(void *b, const void *pattern8, size_t len);
  1367. TLI_DEFINE_ENUM_INTERNAL(memset_pattern8)
  1368. TLI_DEFINE_STRING_INTERNAL("memset_pattern8")
  1369. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Ptr, SizeT)
  1370. /// int mkdir(const char *path, mode_t mode);
  1371. TLI_DEFINE_ENUM_INTERNAL(mkdir)
  1372. TLI_DEFINE_STRING_INTERNAL("mkdir")
  1373. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, IntX)
  1374. /// time_t mktime(struct tm *timeptr);
  1375. TLI_DEFINE_ENUM_INTERNAL(mktime)
  1376. TLI_DEFINE_STRING_INTERNAL("mktime")
  1377. TLI_DEFINE_SIG_INTERNAL(IntPlus, Ptr)
  1378. /// double modf(double x, double *iptr);
  1379. TLI_DEFINE_ENUM_INTERNAL(modf)
  1380. TLI_DEFINE_STRING_INTERNAL("modf")
  1381. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl, Ptr)
  1382. /// float modff(float, float *iptr);
  1383. TLI_DEFINE_ENUM_INTERNAL(modff)
  1384. TLI_DEFINE_STRING_INTERNAL("modff")
  1385. TLI_DEFINE_SIG_INTERNAL(Flt, Flt, Ptr)
  1386. /// long double modfl(long double value, long double *iptr);
  1387. TLI_DEFINE_ENUM_INTERNAL(modfl)
  1388. TLI_DEFINE_STRING_INTERNAL("modfl")
  1389. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl, Ptr)
  1390. /// double nearbyint(double x);
  1391. TLI_DEFINE_ENUM_INTERNAL(nearbyint)
  1392. TLI_DEFINE_STRING_INTERNAL("nearbyint")
  1393. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1394. /// float nearbyintf(float x);
  1395. TLI_DEFINE_ENUM_INTERNAL(nearbyintf)
  1396. TLI_DEFINE_STRING_INTERNAL("nearbyintf")
  1397. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1398. /// long double nearbyintl(long double x);
  1399. TLI_DEFINE_ENUM_INTERNAL(nearbyintl)
  1400. TLI_DEFINE_STRING_INTERNAL("nearbyintl")
  1401. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1402. /// uint32_t ntohl(uint32_t netlong);
  1403. TLI_DEFINE_ENUM_INTERNAL(ntohl)
  1404. TLI_DEFINE_STRING_INTERNAL("ntohl")
  1405. TLI_DEFINE_SIG_INTERNAL(Int32, Int32)
  1406. /// uint16_t ntohs(uint16_t netshort);
  1407. TLI_DEFINE_ENUM_INTERNAL(ntohs)
  1408. TLI_DEFINE_STRING_INTERNAL("ntohs")
  1409. TLI_DEFINE_SIG_INTERNAL(Int16, Int16)
  1410. /// int open(const char *path, int oflag, ... );
  1411. TLI_DEFINE_ENUM_INTERNAL(open)
  1412. TLI_DEFINE_STRING_INTERNAL("open")
  1413. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Int, Ellip)
  1414. /// int open64(const char *filename, int flags[, mode_t mode])
  1415. TLI_DEFINE_ENUM_INTERNAL(open64)
  1416. TLI_DEFINE_STRING_INTERNAL("open64")
  1417. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Int, Ellip)
  1418. /// DIR *opendir(const char *dirname);
  1419. TLI_DEFINE_ENUM_INTERNAL(opendir)
  1420. TLI_DEFINE_STRING_INTERNAL("opendir")
  1421. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr)
  1422. /// int pclose(FILE *stream);
  1423. TLI_DEFINE_ENUM_INTERNAL(pclose)
  1424. TLI_DEFINE_STRING_INTERNAL("pclose")
  1425. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  1426. /// void perror(const char *s);
  1427. TLI_DEFINE_ENUM_INTERNAL(perror)
  1428. TLI_DEFINE_STRING_INTERNAL("perror")
  1429. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  1430. /// FILE *popen(const char *command, const char *mode);
  1431. TLI_DEFINE_ENUM_INTERNAL(popen)
  1432. TLI_DEFINE_STRING_INTERNAL("popen")
  1433. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr)
  1434. /// int posix_memalign(void **memptr, size_t alignment, size_t size);
  1435. TLI_DEFINE_ENUM_INTERNAL(posix_memalign)
  1436. TLI_DEFINE_STRING_INTERNAL("posix_memalign")
  1437. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, SizeT, SizeT)
  1438. /// double pow(double x, double y);
  1439. TLI_DEFINE_ENUM_INTERNAL(pow)
  1440. TLI_DEFINE_STRING_INTERNAL("pow")
  1441. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl, Dbl)
  1442. /// float powf(float x, float y);
  1443. TLI_DEFINE_ENUM_INTERNAL(powf)
  1444. TLI_DEFINE_STRING_INTERNAL("powf")
  1445. TLI_DEFINE_SIG_INTERNAL(Flt, Flt, Flt)
  1446. /// long double powl(long double x, long double y);
  1447. TLI_DEFINE_ENUM_INTERNAL(powl)
  1448. TLI_DEFINE_STRING_INTERNAL("powl")
  1449. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl, LDbl)
  1450. /// ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset);
  1451. TLI_DEFINE_ENUM_INTERNAL(pread)
  1452. TLI_DEFINE_STRING_INTERNAL("pread")
  1453. TLI_DEFINE_SIG_INTERNAL(SSizeT, Int, Ptr, SizeT, IntPlus)
  1454. /// int printf(const char *format, ...);
  1455. TLI_DEFINE_ENUM_INTERNAL(printf)
  1456. TLI_DEFINE_STRING_INTERNAL("printf")
  1457. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ellip)
  1458. /// int putc(int c, FILE *stream);
  1459. TLI_DEFINE_ENUM_INTERNAL(putc)
  1460. TLI_DEFINE_STRING_INTERNAL("putc")
  1461. TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr)
  1462. /// int putc_unlocked(int c, FILE *stream);
  1463. TLI_DEFINE_ENUM_INTERNAL(putc_unlocked)
  1464. TLI_DEFINE_STRING_INTERNAL("putc_unlocked")
  1465. TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr)
  1466. /// int putchar(int c);
  1467. TLI_DEFINE_ENUM_INTERNAL(putchar)
  1468. TLI_DEFINE_STRING_INTERNAL("putchar")
  1469. TLI_DEFINE_SIG_INTERNAL(Int, Int)
  1470. /// int putchar_unlocked(int c);
  1471. TLI_DEFINE_ENUM_INTERNAL(putchar_unlocked)
  1472. TLI_DEFINE_STRING_INTERNAL("putchar_unlocked")
  1473. TLI_DEFINE_SIG_INTERNAL(Int, Int)
  1474. /// int puts(const char *s);
  1475. TLI_DEFINE_ENUM_INTERNAL(puts)
  1476. TLI_DEFINE_STRING_INTERNAL("puts")
  1477. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  1478. /// ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset);
  1479. TLI_DEFINE_ENUM_INTERNAL(pwrite)
  1480. TLI_DEFINE_STRING_INTERNAL("pwrite")
  1481. TLI_DEFINE_SIG_INTERNAL(SSizeT, Int, Ptr, SizeT, IntPlus)
  1482. /// void qsort(void *base, size_t nel, size_t width,
  1483. /// int (*compar)(const void *, const void *));
  1484. TLI_DEFINE_ENUM_INTERNAL(qsort)
  1485. TLI_DEFINE_STRING_INTERNAL("qsort")
  1486. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, SizeT, SizeT, Ptr)
  1487. /// ssize_t read(int fildes, void *buf, size_t nbyte);
  1488. TLI_DEFINE_ENUM_INTERNAL(read)
  1489. TLI_DEFINE_STRING_INTERNAL("read")
  1490. TLI_DEFINE_SIG_INTERNAL(SSizeT, Int, Ptr, SizeT)
  1491. /// ssize_t readlink(const char *path, char *buf, size_t bufsize);
  1492. TLI_DEFINE_ENUM_INTERNAL(readlink)
  1493. TLI_DEFINE_STRING_INTERNAL("readlink")
  1494. TLI_DEFINE_SIG_INTERNAL(SSizeT, Ptr, Ptr, SizeT)
  1495. /// void *realloc(void *ptr, size_t size);
  1496. TLI_DEFINE_ENUM_INTERNAL(realloc)
  1497. TLI_DEFINE_STRING_INTERNAL("realloc")
  1498. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, SizeT)
  1499. /// void *reallocf(void *ptr, size_t size);
  1500. TLI_DEFINE_ENUM_INTERNAL(reallocf)
  1501. TLI_DEFINE_STRING_INTERNAL("reallocf")
  1502. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, SizeT)
  1503. /// char *realpath(const char *file_name, char *resolved_name);
  1504. TLI_DEFINE_ENUM_INTERNAL(realpath)
  1505. TLI_DEFINE_STRING_INTERNAL("realpath")
  1506. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr)
  1507. /// double remainder(double x, double y);
  1508. TLI_DEFINE_ENUM_INTERNAL(remainder)
  1509. TLI_DEFINE_STRING_INTERNAL("remainder")
  1510. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl, Dbl)
  1511. /// float remainderf(float x, float y);
  1512. TLI_DEFINE_ENUM_INTERNAL(remainderf)
  1513. TLI_DEFINE_STRING_INTERNAL("remainderf")
  1514. TLI_DEFINE_SIG_INTERNAL(Flt, Flt, Flt)
  1515. /// long double remainderl(long double x, long double y);
  1516. TLI_DEFINE_ENUM_INTERNAL(remainderl)
  1517. TLI_DEFINE_STRING_INTERNAL("remainderl")
  1518. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl, LDbl)
  1519. /// int remove(const char *path);
  1520. TLI_DEFINE_ENUM_INTERNAL(remove)
  1521. TLI_DEFINE_STRING_INTERNAL("remove")
  1522. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  1523. /// int rename(const char *old, const char *new);
  1524. TLI_DEFINE_ENUM_INTERNAL(rename)
  1525. TLI_DEFINE_STRING_INTERNAL("rename")
  1526. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1527. /// void rewind(FILE *stream);
  1528. TLI_DEFINE_ENUM_INTERNAL(rewind)
  1529. TLI_DEFINE_STRING_INTERNAL("rewind")
  1530. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  1531. /// double rint(double x);
  1532. TLI_DEFINE_ENUM_INTERNAL(rint)
  1533. TLI_DEFINE_STRING_INTERNAL("rint")
  1534. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1535. /// float rintf(float x);
  1536. TLI_DEFINE_ENUM_INTERNAL(rintf)
  1537. TLI_DEFINE_STRING_INTERNAL("rintf")
  1538. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1539. /// long double rintl(long double x);
  1540. TLI_DEFINE_ENUM_INTERNAL(rintl)
  1541. TLI_DEFINE_STRING_INTERNAL("rintl")
  1542. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1543. /// int rmdir(const char *path);
  1544. TLI_DEFINE_ENUM_INTERNAL(rmdir)
  1545. TLI_DEFINE_STRING_INTERNAL("rmdir")
  1546. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  1547. /// double round(double x);
  1548. TLI_DEFINE_ENUM_INTERNAL(round)
  1549. TLI_DEFINE_STRING_INTERNAL("round")
  1550. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1551. /// double roundeven(double x);
  1552. TLI_DEFINE_ENUM_INTERNAL(roundeven)
  1553. TLI_DEFINE_STRING_INTERNAL("roundeven")
  1554. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1555. /// float roundevenf(float x);
  1556. TLI_DEFINE_ENUM_INTERNAL(roundevenf)
  1557. TLI_DEFINE_STRING_INTERNAL("roundevenf")
  1558. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1559. /// long double roundevenl(long double x);
  1560. TLI_DEFINE_ENUM_INTERNAL(roundevenl)
  1561. TLI_DEFINE_STRING_INTERNAL("roundevenl")
  1562. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1563. /// float roundf(float x);
  1564. TLI_DEFINE_ENUM_INTERNAL(roundf)
  1565. TLI_DEFINE_STRING_INTERNAL("roundf")
  1566. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1567. /// long double roundl(long double x);
  1568. TLI_DEFINE_ENUM_INTERNAL(roundl)
  1569. TLI_DEFINE_STRING_INTERNAL("roundl")
  1570. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1571. /// int scanf(const char *restrict format, ... );
  1572. TLI_DEFINE_ENUM_INTERNAL(scanf)
  1573. TLI_DEFINE_STRING_INTERNAL("scanf")
  1574. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ellip)
  1575. /// void setbuf(FILE *stream, char *buf);
  1576. TLI_DEFINE_ENUM_INTERNAL(setbuf)
  1577. TLI_DEFINE_STRING_INTERNAL("setbuf")
  1578. TLI_DEFINE_SIG_INTERNAL(Void, Ptr, Ptr)
  1579. /// int setitimer(int which, const struct itimerval *value,
  1580. /// struct itimerval *ovalue);
  1581. TLI_DEFINE_ENUM_INTERNAL(setitimer)
  1582. TLI_DEFINE_STRING_INTERNAL("setitimer")
  1583. TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr, Ptr)
  1584. /// int setvbuf(FILE *stream, char *buf, int type, size_t size);
  1585. TLI_DEFINE_ENUM_INTERNAL(setvbuf)
  1586. TLI_DEFINE_STRING_INTERNAL("setvbuf")
  1587. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Int, SizeT)
  1588. /// double sin(double x);
  1589. TLI_DEFINE_ENUM_INTERNAL(sin)
  1590. TLI_DEFINE_STRING_INTERNAL("sin")
  1591. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1592. /// float sinf(float x);
  1593. TLI_DEFINE_ENUM_INTERNAL(sinf)
  1594. TLI_DEFINE_STRING_INTERNAL("sinf")
  1595. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1596. /// double sinh(double x);
  1597. TLI_DEFINE_ENUM_INTERNAL(sinh)
  1598. TLI_DEFINE_STRING_INTERNAL("sinh")
  1599. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1600. /// float sinhf(float x);
  1601. TLI_DEFINE_ENUM_INTERNAL(sinhf)
  1602. TLI_DEFINE_STRING_INTERNAL("sinhf")
  1603. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1604. /// long double sinhl(long double x);
  1605. TLI_DEFINE_ENUM_INTERNAL(sinhl)
  1606. TLI_DEFINE_STRING_INTERNAL("sinhl")
  1607. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1608. /// long double sinl(long double x);
  1609. TLI_DEFINE_ENUM_INTERNAL(sinl)
  1610. TLI_DEFINE_STRING_INTERNAL("sinl")
  1611. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1612. /// int siprintf(char *str, const char *format, ...);
  1613. TLI_DEFINE_ENUM_INTERNAL(siprintf)
  1614. TLI_DEFINE_STRING_INTERNAL("siprintf")
  1615. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ellip)
  1616. /// int snprintf(char *s, size_t n, const char *format, ...);
  1617. TLI_DEFINE_ENUM_INTERNAL(snprintf)
  1618. TLI_DEFINE_STRING_INTERNAL("snprintf")
  1619. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, SizeT, Ptr, Ellip)
  1620. /// int sprintf(char *str, const char *format, ...);
  1621. TLI_DEFINE_ENUM_INTERNAL(sprintf)
  1622. TLI_DEFINE_STRING_INTERNAL("sprintf")
  1623. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ellip)
  1624. /// double sqrt(double x);
  1625. TLI_DEFINE_ENUM_INTERNAL(sqrt)
  1626. TLI_DEFINE_STRING_INTERNAL("sqrt")
  1627. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1628. /// float sqrtf(float x);
  1629. TLI_DEFINE_ENUM_INTERNAL(sqrtf)
  1630. TLI_DEFINE_STRING_INTERNAL("sqrtf")
  1631. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1632. /// long double sqrtl(long double x);
  1633. TLI_DEFINE_ENUM_INTERNAL(sqrtl)
  1634. TLI_DEFINE_STRING_INTERNAL("sqrtl")
  1635. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1636. /// int sscanf(const char *s, const char *format, ... );
  1637. TLI_DEFINE_ENUM_INTERNAL(sscanf)
  1638. TLI_DEFINE_STRING_INTERNAL("sscanf")
  1639. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ellip)
  1640. /// int stat(const char *path, struct stat *buf);
  1641. TLI_DEFINE_ENUM_INTERNAL(stat)
  1642. TLI_DEFINE_STRING_INTERNAL("stat")
  1643. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1644. /// int stat64(const char *path, struct stat64 *buf);
  1645. TLI_DEFINE_ENUM_INTERNAL(stat64)
  1646. TLI_DEFINE_STRING_INTERNAL("stat64")
  1647. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1648. /// int statvfs(const char *path, struct statvfs *buf);
  1649. TLI_DEFINE_ENUM_INTERNAL(statvfs)
  1650. TLI_DEFINE_STRING_INTERNAL("statvfs")
  1651. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1652. /// int statvfs64(const char *path, struct statvfs64 *buf)
  1653. TLI_DEFINE_ENUM_INTERNAL(statvfs64)
  1654. TLI_DEFINE_STRING_INTERNAL("statvfs64")
  1655. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1656. /// char *stpcpy(char *s1, const char *s2);
  1657. TLI_DEFINE_ENUM_INTERNAL(stpcpy)
  1658. TLI_DEFINE_STRING_INTERNAL("stpcpy")
  1659. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr)
  1660. /// char *stpncpy(char *s1, const char *s2, size_t n);
  1661. TLI_DEFINE_ENUM_INTERNAL(stpncpy)
  1662. TLI_DEFINE_STRING_INTERNAL("stpncpy")
  1663. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT)
  1664. /// int strcasecmp(const char *s1, const char *s2);
  1665. TLI_DEFINE_ENUM_INTERNAL(strcasecmp)
  1666. TLI_DEFINE_STRING_INTERNAL("strcasecmp")
  1667. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1668. /// char *strcat(char *s1, const char *s2);
  1669. TLI_DEFINE_ENUM_INTERNAL(strcat)
  1670. TLI_DEFINE_STRING_INTERNAL("strcat")
  1671. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr)
  1672. /// char *strchr(const char *s, int c);
  1673. TLI_DEFINE_ENUM_INTERNAL(strchr)
  1674. TLI_DEFINE_STRING_INTERNAL("strchr")
  1675. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Int)
  1676. /// int strcmp(const char *s1, const char *s2);
  1677. TLI_DEFINE_ENUM_INTERNAL(strcmp)
  1678. TLI_DEFINE_STRING_INTERNAL("strcmp")
  1679. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1680. /// int strcoll(const char *s1, const char *s2);
  1681. TLI_DEFINE_ENUM_INTERNAL(strcoll)
  1682. TLI_DEFINE_STRING_INTERNAL("strcoll")
  1683. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1684. /// char *strcpy(char *s1, const char *s2);
  1685. TLI_DEFINE_ENUM_INTERNAL(strcpy)
  1686. TLI_DEFINE_STRING_INTERNAL("strcpy")
  1687. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr)
  1688. /// size_t strcspn(const char *s1, const char *s2);
  1689. TLI_DEFINE_ENUM_INTERNAL(strcspn)
  1690. TLI_DEFINE_STRING_INTERNAL("strcspn")
  1691. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr, Ptr)
  1692. /// char *strdup(const char *s1);
  1693. TLI_DEFINE_ENUM_INTERNAL(strdup)
  1694. TLI_DEFINE_STRING_INTERNAL("strdup")
  1695. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr)
  1696. /// size_t strlcat(char *dst, const char *src, size_t size);
  1697. TLI_DEFINE_ENUM_INTERNAL(strlcat)
  1698. TLI_DEFINE_STRING_INTERNAL("strlcat")
  1699. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr, Ptr, SizeT)
  1700. /// size_t strlcpy(char *dst, const char *src, size_t size);
  1701. TLI_DEFINE_ENUM_INTERNAL(strlcpy)
  1702. TLI_DEFINE_STRING_INTERNAL("strlcpy")
  1703. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr, Ptr, SizeT)
  1704. /// size_t strlen(const char *s);
  1705. TLI_DEFINE_ENUM_INTERNAL(strlen)
  1706. TLI_DEFINE_STRING_INTERNAL("strlen")
  1707. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr)
  1708. /// int strncasecmp(const char *s1, const char *s2, size_t n);
  1709. TLI_DEFINE_ENUM_INTERNAL(strncasecmp)
  1710. TLI_DEFINE_STRING_INTERNAL("strncasecmp")
  1711. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, SizeT)
  1712. /// char *strncat(char *s1, const char *s2, size_t n);
  1713. TLI_DEFINE_ENUM_INTERNAL(strncat)
  1714. TLI_DEFINE_STRING_INTERNAL("strncat")
  1715. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT)
  1716. /// int strncmp(const char *s1, const char *s2, size_t n);
  1717. TLI_DEFINE_ENUM_INTERNAL(strncmp)
  1718. TLI_DEFINE_STRING_INTERNAL("strncmp")
  1719. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, SizeT)
  1720. /// char *strncpy(char *s1, const char *s2, size_t n);
  1721. TLI_DEFINE_ENUM_INTERNAL(strncpy)
  1722. TLI_DEFINE_STRING_INTERNAL("strncpy")
  1723. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, SizeT)
  1724. /// char *strndup(const char *s1, size_t n);
  1725. TLI_DEFINE_ENUM_INTERNAL(strndup)
  1726. TLI_DEFINE_STRING_INTERNAL("strndup")
  1727. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, SizeT)
  1728. /// size_t strnlen(const char *s, size_t maxlen);
  1729. TLI_DEFINE_ENUM_INTERNAL(strnlen)
  1730. TLI_DEFINE_STRING_INTERNAL("strnlen")
  1731. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr, SizeT)
  1732. /// char *strpbrk(const char *s1, const char *s2);
  1733. TLI_DEFINE_ENUM_INTERNAL(strpbrk)
  1734. TLI_DEFINE_STRING_INTERNAL("strpbrk")
  1735. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr)
  1736. /// char *strrchr(const char *s, int c);
  1737. TLI_DEFINE_ENUM_INTERNAL(strrchr)
  1738. TLI_DEFINE_STRING_INTERNAL("strrchr")
  1739. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Int)
  1740. /// size_t strspn(const char *s1, const char *s2);
  1741. TLI_DEFINE_ENUM_INTERNAL(strspn)
  1742. TLI_DEFINE_STRING_INTERNAL("strspn")
  1743. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr, Ptr)
  1744. /// char *strstr(const char *s1, const char *s2);
  1745. TLI_DEFINE_ENUM_INTERNAL(strstr)
  1746. TLI_DEFINE_STRING_INTERNAL("strstr")
  1747. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr)
  1748. /// double strtod(const char *nptr, char **endptr);
  1749. TLI_DEFINE_ENUM_INTERNAL(strtod)
  1750. TLI_DEFINE_STRING_INTERNAL("strtod")
  1751. TLI_DEFINE_SIG_INTERNAL(Dbl, Ptr, Ptr)
  1752. /// float strtof(const char *nptr, char **endptr);
  1753. TLI_DEFINE_ENUM_INTERNAL(strtof)
  1754. TLI_DEFINE_STRING_INTERNAL("strtof")
  1755. TLI_DEFINE_SIG_INTERNAL(Flt, Ptr, Ptr)
  1756. /// char *strtok(char *s1, const char *s2);
  1757. TLI_DEFINE_ENUM_INTERNAL(strtok)
  1758. TLI_DEFINE_STRING_INTERNAL("strtok")
  1759. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr)
  1760. /// char *strtok_r(char *s, const char *sep, char **lasts);
  1761. TLI_DEFINE_ENUM_INTERNAL(strtok_r)
  1762. TLI_DEFINE_STRING_INTERNAL("strtok_r")
  1763. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, Ptr, Ptr)
  1764. /// long int strtol(const char *nptr, char **endptr, int base);
  1765. TLI_DEFINE_ENUM_INTERNAL(strtol)
  1766. TLI_DEFINE_STRING_INTERNAL("strtol")
  1767. TLI_DEFINE_SIG_INTERNAL(Long, Ptr, Ptr, Int)
  1768. /// long double strtold(const char *nptr, char **endptr);
  1769. TLI_DEFINE_ENUM_INTERNAL(strtold)
  1770. TLI_DEFINE_STRING_INTERNAL("strtold")
  1771. TLI_DEFINE_SIG_INTERNAL(LDbl, Ptr, Ptr)
  1772. /// long long int strtoll(const char *nptr, char **endptr, int base);
  1773. TLI_DEFINE_ENUM_INTERNAL(strtoll)
  1774. TLI_DEFINE_STRING_INTERNAL("strtoll")
  1775. TLI_DEFINE_SIG_INTERNAL(LLong, Ptr, Ptr, Int)
  1776. /// unsigned long int strtoul(const char *nptr, char **endptr, int base);
  1777. TLI_DEFINE_ENUM_INTERNAL(strtoul)
  1778. TLI_DEFINE_STRING_INTERNAL("strtoul")
  1779. TLI_DEFINE_SIG_INTERNAL(Long, Ptr, Ptr, Int)
  1780. /// unsigned long long int strtoull(const char *nptr, char **endptr, int base);
  1781. TLI_DEFINE_ENUM_INTERNAL(strtoull)
  1782. TLI_DEFINE_STRING_INTERNAL("strtoull")
  1783. TLI_DEFINE_SIG_INTERNAL(LLong, Ptr, Ptr, Int)
  1784. /// size_t strxfrm(char *s1, const char *s2, size_t n);
  1785. TLI_DEFINE_ENUM_INTERNAL(strxfrm)
  1786. TLI_DEFINE_STRING_INTERNAL("strxfrm")
  1787. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr, Ptr, SizeT)
  1788. /// int system(const char *command);
  1789. TLI_DEFINE_ENUM_INTERNAL(system)
  1790. TLI_DEFINE_STRING_INTERNAL("system")
  1791. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  1792. /// double tan(double x);
  1793. TLI_DEFINE_ENUM_INTERNAL(tan)
  1794. TLI_DEFINE_STRING_INTERNAL("tan")
  1795. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1796. /// float tanf(float x);
  1797. TLI_DEFINE_ENUM_INTERNAL(tanf)
  1798. TLI_DEFINE_STRING_INTERNAL("tanf")
  1799. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1800. /// double tanh(double x);
  1801. TLI_DEFINE_ENUM_INTERNAL(tanh)
  1802. TLI_DEFINE_STRING_INTERNAL("tanh")
  1803. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1804. /// float tanhf(float x);
  1805. TLI_DEFINE_ENUM_INTERNAL(tanhf)
  1806. TLI_DEFINE_STRING_INTERNAL("tanhf")
  1807. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1808. /// long double tanhl(long double x);
  1809. TLI_DEFINE_ENUM_INTERNAL(tanhl)
  1810. TLI_DEFINE_STRING_INTERNAL("tanhl")
  1811. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1812. /// long double tanl(long double x);
  1813. TLI_DEFINE_ENUM_INTERNAL(tanl)
  1814. TLI_DEFINE_STRING_INTERNAL("tanl")
  1815. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1816. /// clock_t times(struct tms *buffer);
  1817. TLI_DEFINE_ENUM_INTERNAL(times)
  1818. TLI_DEFINE_STRING_INTERNAL("times")
  1819. TLI_DEFINE_SIG_INTERNAL(IntPlus, Ptr)
  1820. /// FILE *tmpfile(void);
  1821. TLI_DEFINE_ENUM_INTERNAL(tmpfile)
  1822. TLI_DEFINE_STRING_INTERNAL("tmpfile")
  1823. TLI_DEFINE_SIG_INTERNAL(Ptr)
  1824. /// FILE *tmpfile64(void)
  1825. TLI_DEFINE_ENUM_INTERNAL(tmpfile64)
  1826. TLI_DEFINE_STRING_INTERNAL("tmpfile64")
  1827. TLI_DEFINE_SIG_INTERNAL(Ptr)
  1828. /// int toascii(int c);
  1829. TLI_DEFINE_ENUM_INTERNAL(toascii)
  1830. TLI_DEFINE_STRING_INTERNAL("toascii")
  1831. TLI_DEFINE_SIG_INTERNAL(Int, Int)
  1832. /// double trunc(double x);
  1833. TLI_DEFINE_ENUM_INTERNAL(trunc)
  1834. TLI_DEFINE_STRING_INTERNAL("trunc")
  1835. TLI_DEFINE_SIG_INTERNAL(Dbl, Dbl)
  1836. /// float truncf(float x);
  1837. TLI_DEFINE_ENUM_INTERNAL(truncf)
  1838. TLI_DEFINE_STRING_INTERNAL("truncf")
  1839. TLI_DEFINE_SIG_INTERNAL(Flt, Flt)
  1840. /// long double truncl(long double x);
  1841. TLI_DEFINE_ENUM_INTERNAL(truncl)
  1842. TLI_DEFINE_STRING_INTERNAL("truncl")
  1843. TLI_DEFINE_SIG_INTERNAL(LDbl, LDbl)
  1844. /// int uname(struct utsname *name);
  1845. TLI_DEFINE_ENUM_INTERNAL(uname)
  1846. TLI_DEFINE_STRING_INTERNAL("uname")
  1847. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  1848. /// int ungetc(int c, FILE *stream);
  1849. TLI_DEFINE_ENUM_INTERNAL(ungetc)
  1850. TLI_DEFINE_STRING_INTERNAL("ungetc")
  1851. TLI_DEFINE_SIG_INTERNAL(Int, Int, Ptr)
  1852. /// int unlink(const char *path);
  1853. TLI_DEFINE_ENUM_INTERNAL(unlink)
  1854. TLI_DEFINE_STRING_INTERNAL("unlink")
  1855. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  1856. /// int unsetenv(const char *name);
  1857. TLI_DEFINE_ENUM_INTERNAL(unsetenv)
  1858. TLI_DEFINE_STRING_INTERNAL("unsetenv")
  1859. TLI_DEFINE_SIG_INTERNAL(Int, Ptr)
  1860. /// int utime(const char *path, const struct utimbuf *times);
  1861. TLI_DEFINE_ENUM_INTERNAL(utime)
  1862. TLI_DEFINE_STRING_INTERNAL("utime")
  1863. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1864. /// int utimes(const char *path, const struct timeval times[2]);
  1865. TLI_DEFINE_ENUM_INTERNAL(utimes)
  1866. TLI_DEFINE_STRING_INTERNAL("utimes")
  1867. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1868. /// void *valloc(size_t size);
  1869. TLI_DEFINE_ENUM_INTERNAL(valloc)
  1870. TLI_DEFINE_STRING_INTERNAL("valloc")
  1871. TLI_DEFINE_SIG_INTERNAL(Ptr, SizeT)
  1872. /// void *vec_calloc(size_t count, size_t size);
  1873. TLI_DEFINE_ENUM_INTERNAL(vec_calloc)
  1874. TLI_DEFINE_STRING_INTERNAL("vec_calloc")
  1875. TLI_DEFINE_SIG_INTERNAL(Ptr, SizeT, SizeT)
  1876. /// void vec_free(void *ptr);
  1877. TLI_DEFINE_ENUM_INTERNAL(vec_free)
  1878. TLI_DEFINE_STRING_INTERNAL("vec_free")
  1879. TLI_DEFINE_SIG_INTERNAL(Void, Ptr)
  1880. /// void *vec_malloc(size_t size);
  1881. TLI_DEFINE_ENUM_INTERNAL(vec_malloc)
  1882. TLI_DEFINE_STRING_INTERNAL("vec_malloc")
  1883. TLI_DEFINE_SIG_INTERNAL(Ptr, SizeT)
  1884. /// void *vec_realloc(void *ptr, size_t size);
  1885. TLI_DEFINE_ENUM_INTERNAL(vec_realloc)
  1886. TLI_DEFINE_STRING_INTERNAL("vec_realloc")
  1887. TLI_DEFINE_SIG_INTERNAL(Ptr, Ptr, SizeT)
  1888. /// int vfprintf(FILE *stream, const char *format, va_list ap);
  1889. TLI_DEFINE_ENUM_INTERNAL(vfprintf)
  1890. TLI_DEFINE_STRING_INTERNAL("vfprintf")
  1891. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ptr)
  1892. /// int vfscanf(FILE *stream, const char *format, va_list arg);
  1893. TLI_DEFINE_ENUM_INTERNAL(vfscanf)
  1894. TLI_DEFINE_STRING_INTERNAL("vfscanf")
  1895. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ptr)
  1896. /// int vprintf(const char *restrict format, va_list ap);
  1897. TLI_DEFINE_ENUM_INTERNAL(vprintf)
  1898. TLI_DEFINE_STRING_INTERNAL("vprintf")
  1899. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1900. /// int vscanf(const char *format, va_list arg);
  1901. TLI_DEFINE_ENUM_INTERNAL(vscanf)
  1902. TLI_DEFINE_STRING_INTERNAL("vscanf")
  1903. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr)
  1904. /// int vsnprintf(char *s, size_t n, const char *format, va_list ap);
  1905. TLI_DEFINE_ENUM_INTERNAL(vsnprintf)
  1906. TLI_DEFINE_STRING_INTERNAL("vsnprintf")
  1907. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, SizeT, Ptr, Ptr)
  1908. /// int vsprintf(char *s, const char *format, va_list ap);
  1909. TLI_DEFINE_ENUM_INTERNAL(vsprintf)
  1910. TLI_DEFINE_STRING_INTERNAL("vsprintf")
  1911. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ptr)
  1912. /// int vsscanf(const char *s, const char *format, va_list arg);
  1913. TLI_DEFINE_ENUM_INTERNAL(vsscanf)
  1914. TLI_DEFINE_STRING_INTERNAL("vsscanf")
  1915. TLI_DEFINE_SIG_INTERNAL(Int, Ptr, Ptr, Ptr)
  1916. /// size_t wcslen (const wchar_t* wcs);
  1917. TLI_DEFINE_ENUM_INTERNAL(wcslen)
  1918. TLI_DEFINE_STRING_INTERNAL("wcslen")
  1919. TLI_DEFINE_SIG_INTERNAL(SizeT, Ptr)
  1920. /// ssize_t write(int fildes, const void *buf, size_t nbyte);
  1921. TLI_DEFINE_ENUM_INTERNAL(write)
  1922. TLI_DEFINE_STRING_INTERNAL("write")
  1923. TLI_DEFINE_SIG_INTERNAL(SSizeT, Int, Ptr, SizeT)
  1924. #undef TLI_DEFINE_ENUM_INTERNAL
  1925. #undef TLI_DEFINE_STRING_INTERNAL
  1926. #undef TLI_DEFINE_SIG_INTERNAL
  1927. #endif // One of TLI_DEFINE_ENUM/STRING are defined.
  1928. #undef TLI_DEFINE_ENUM
  1929. #undef TLI_DEFINE_STRING
  1930. #undef TLI_DEFINE_SIG