Blame include/programs/xasprintf.h

Packit Service 537b3b
/* asprintf with out of memory checking
Packit Service 537b3b
   Copyright (C) 2019 Free Software Foundation, Inc.
Packit Service 537b3b
   This file is part of the GNU C Library.
Packit Service 537b3b
Packit Service 537b3b
   This program is free software; you can redistribute it and/or modify
Packit Service 537b3b
   it under the terms of the GNU General Public License as published
Packit Service 537b3b
   by the Free Software Foundation; version 2 of the License, or
Packit Service 537b3b
   (at your option) any later version.
Packit Service 537b3b
Packit Service 537b3b
   This program is distributed in the hope that it will be useful,
Packit Service 537b3b
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 537b3b
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 537b3b
   GNU General Public License for more details.
Packit Service 537b3b
Packit Service 537b3b
   You should have received a copy of the GNU General Public License
Packit Service 537b3b
   along with this program; if not, see <https://www.gnu.org/licenses/>.  */
Packit Service 537b3b
Packit Service 537b3b
#ifndef _XASPRINTF_H
Packit Service 537b3b
#define _XASPRINTF_H	1
Packit Service 537b3b
Packit Service 537b3b
extern char *xasprintf (const char *format, ...)
Packit Service 537b3b
    __attribute__ ((__format__ (__printf__, 1, 2), __warn_unused_result__));
Packit Service 537b3b
Packit Service 537b3b
#endif /* xasprintf.h */