sprintf_alloc.h 734 B

1234567891011121314151617181920212223
  1. /* sprintf_alloca.c -- like sprintf with memory allocation
  2. Carl D. Worth
  3. Copyright (C) 2001 University of Southern California
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2, or (at your option)
  7. any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. */
  13. #ifndef SPRINTF_ALLOC_H
  14. #define SPRINTF_ALLOC_H
  15. void sprintf_alloc(char **str, const char *fmt, ...);
  16. #endif