exnospace.c 756 B

12345678910111213141516171819202122232425262728293031
  1. /*************************************************************************
  2. * Copyright (c) 2011 AT&T Intellectual Property
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * https://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors: Details at https://graphviz.org
  9. *************************************************************************/
  10. /*
  11. * Glenn Fowler
  12. * AT&T Research
  13. *
  14. * expression library
  15. */
  16. #include <expr/exlib.h>
  17. /*
  18. * no space message with default (empty) string value
  19. */
  20. char*
  21. exnospace(void)
  22. {
  23. static const char null[1];
  24. exerror("out of space");
  25. return (char*)null;
  26. }