upse-string.h 762 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * UPSE: the unix playstation sound emulator.
  3. *
  4. * Filename: upse-string.h
  5. * Purpose: libupse: string utility function header
  6. *
  7. * Copyright (c) 2007 William Pitcock <nenolod@sacredspiral.co.uk>
  8. *
  9. * UPSE is free software, released under the GNU General Public License,
  10. * version 2.
  11. *
  12. * A copy of the GNU General Public License, version 2, is included in
  13. * the UPSE source kit as COPYING.
  14. *
  15. * UPSE is offered without any warranty of any kind, explicit or implicit.
  16. */
  17. #ifndef __UPSE__LIBUPSE__UPSE_STRING_H__GUARD
  18. #define __UPSE__LIBUPSE__UPSE_STRING_H__GUARD
  19. #include "upse.h"
  20. #include "upse-string.h"
  21. /*
  22. * fgets() wrapper - inefficient, but it will do.
  23. */
  24. char *upse_io_fgets(char *s, int n, void *stream, upse_iofuncs_t * iofuncs);
  25. #endif