1*5b0fe478SBruce M Simpson /* 2*5b0fe478SBruce M Simpson * Copyright (c) 1993, 1994, 1995, 1996, 1997 3*5b0fe478SBruce M Simpson * The Regents of the University of California. All rights reserved. 4*5b0fe478SBruce M Simpson * 5*5b0fe478SBruce M Simpson * Redistribution and use in source and binary forms, with or without 6*5b0fe478SBruce M Simpson * modification, are permitted provided that: (1) source code distributions 7*5b0fe478SBruce M Simpson * retain the above copyright notice and this paragraph in its entirety, (2) 8*5b0fe478SBruce M Simpson * distributions including binary code include the above copyright notice and 9*5b0fe478SBruce M Simpson * this paragraph in its entirety in the documentation or other materials 10*5b0fe478SBruce M Simpson * provided with the distribution, and (3) all advertising materials mentioning 11*5b0fe478SBruce M Simpson * features or use of this software display the following acknowledgement: 12*5b0fe478SBruce M Simpson * ``This product includes software developed by the University of California, 13*5b0fe478SBruce M Simpson * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of 14*5b0fe478SBruce M Simpson * the University nor the names of its contributors may be used to endorse 15*5b0fe478SBruce M Simpson * or promote products derived from this software without specific prior 16*5b0fe478SBruce M Simpson * written permission. 17*5b0fe478SBruce M Simpson * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED 18*5b0fe478SBruce M Simpson * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF 19*5b0fe478SBruce M Simpson * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 20*5b0fe478SBruce M Simpson */ 21*5b0fe478SBruce M Simpson 22*5b0fe478SBruce M Simpson /* Prototypes missing in Digital UNIX 4.x */ 23*5b0fe478SBruce M Simpson int snprintf(char *, size_t, const char *, ...); 24*5b0fe478SBruce M Simpson int vsnprintf(char *, size_t, const char *, va_list); 25