![]() |
|
|||
File indexing completed on 2025-02-22 10:47:19
0001 /* 0002 * bsdstubs.h 0003 * Header for stub BSD function prototypes if unavailable on a specific platform. 0004 * 0005 * Copyright (c) 2012 William Pitcock <nenolod@dereferenced.org>. 0006 * 0007 * Permission to use, copy, modify, and/or distribute this software for any 0008 * purpose with or without fee is hereby granted, provided that the above 0009 * copyright notice and this permission notice appear in all copies. 0010 * 0011 * This software is provided 'as is' and without any warranty, express or 0012 * implied. In no event shall the authors be liable for any damages arising 0013 * from the use of this software. 0014 */ 0015 0016 #ifndef LIBPKGCONF_BSDSTUBS_H 0017 #define LIBPKGCONF_BSDSTUBS_H 0018 0019 #include <libpkgconf/libpkgconf-api.h> 0020 0021 #ifdef __cplusplus 0022 extern "C" { 0023 #endif 0024 0025 PKGCONF_API extern size_t pkgconf_strlcpy(char *dst, const char *src, size_t siz); 0026 PKGCONF_API extern size_t pkgconf_strlcat(char *dst, const char *src, size_t siz); 0027 PKGCONF_API extern char *pkgconf_strndup(const char *src, size_t len); 0028 PKGCONF_API extern void *pkgconf_reallocarray(void *ptr, size_t m, size_t n); 0029 0030 #ifdef __cplusplus 0031 } 0032 #endif 0033 0034 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |