vscanf.c (abbd8902334e8c6409384593b4a2c81f939b47b4) | vscanf.c (54e4e385de33a961e801ceeea8146437e25edd88) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Donn Seeley at UUNET Technologies, Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 33 unchanged lines hidden (view full) --- 42 43#include "namespace.h" 44#include <stdio.h> 45#include "un-namespace.h" 46#include "libc_private.h" 47 48int 49vscanf(fmt, ap) | 1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Donn Seeley at UUNET Technologies, Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 33 unchanged lines hidden (view full) --- 42 43#include "namespace.h" 44#include <stdio.h> 45#include "un-namespace.h" 46#include "libc_private.h" 47 48int 49vscanf(fmt, ap) |
50 const char *fmt; | 50 const char * __restrict fmt; |
51 __va_list ap; 52{ 53 int retval; 54 55 FLOCKFILE(stdin); 56 retval = __svfscanf(stdin, fmt, ap); 57 FUNLOCKFILE(stdin); 58 return (retval); 59} | 51 __va_list ap; 52{ 53 int retval; 54 55 FLOCKFILE(stdin); 56 retval = __svfscanf(stdin, fmt, ap); 57 FUNLOCKFILE(stdin); 58 return (retval); 59} |