malloc_np.h (4f5f00d82d4d959e6af27f1fb151145d54048799) malloc_np.h (dcc6ef1644423a970fa515feef81730135e1d87f)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (C) 2006 Jason Evans <jasone@FreeBSD.org>.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 108 unchanged lines hidden (view full) ---

117 size_t *oldlenp, void *newp, size_t newlen);
118void *__mallocx(size_t size, int flags);
119void *__rallocx(void *ptr, size_t size, int flags);
120size_t __xallocx(void *ptr, size_t size, size_t extra, int flags);
121size_t __sallocx(const void *ptr, int flags);
122void __dallocx(void *ptr, int flags);
123void __sdallocx(void *ptr, size_t size, int flags);
124size_t __nallocx(size_t size, int flags);
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (C) 2006 Jason Evans <jasone@FreeBSD.org>.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 108 unchanged lines hidden (view full) ---

117 size_t *oldlenp, void *newp, size_t newlen);
118void *__mallocx(size_t size, int flags);
119void *__rallocx(void *ptr, size_t size, int flags);
120size_t __xallocx(void *ptr, size_t size, size_t extra, int flags);
121size_t __sallocx(const void *ptr, int flags);
122void __dallocx(void *ptr, int flags);
123void __sdallocx(void *ptr, size_t size, int flags);
124size_t __nallocx(size_t size, int flags);
125
126void *memalign(size_t, size_t) __malloc_like __alloc_align(1)
127 __alloc_size(2);
125__END_DECLS
126
127#undef __MyBool
128
129#endif /* _MALLOC_NP_H_ */
128__END_DECLS
129
130#undef __MyBool
131
132#endif /* _MALLOC_NP_H_ */