malloc_np.h revision 157236
10Sduke/*- 23718Smikael * Copyright (C) 2006 Jason Evans <jasone@FreeBSD.org>. 30Sduke * All rights reserved. 40Sduke * 50Sduke * Redistribution and use in source and binary forms, with or without 60Sduke * modification, are permitted provided that the following conditions 70Sduke * are met: 80Sduke * 1. Redistributions of source code must retain the above copyright 90Sduke * notice(s), this list of conditions and the following disclaimer as 100Sduke * the first lines of this file unmodified other than the possible 110Sduke * addition of one or more copyright notices. 120Sduke * 2. Redistributions in binary form must reproduce the above copyright 130Sduke * notice(s), this list of conditions and the following disclaimer in 140Sduke * the documentation and/or other materials provided with the 150Sduke * distribution. 160Sduke * 170Sduke * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY 180Sduke * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 191472Strims * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 201472Strims * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE 211472Strims * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 220Sduke * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 230Sduke * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 240Sduke * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 251879Sstefank * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 261879Sstefank * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 271879Sstefank * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 281879Sstefank * 295885Ssspitsyn * $FreeBSD: head/include/malloc_np.h 157236 2006-03-28 22:16:04Z jasone $ 301879Sstefank */ 311879Sstefank 321879Sstefank#ifndef _MALLOC_NP_H_ 331879Sstefank#define _MALLOC_NP_H_ 341879Sstefank 351879Sstefanksize_t malloc_usable_size(const void *ptr); 361879Sstefank 370Sduke#endif /* _MALLOC_NP_H_ */ 380Sduke