File: snprintf.c

package info (click to toggle)
shadow 1%3A4.19.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 66,824 kB
  • sloc: sh: 44,185; ansic: 34,143; xml: 12,350; exp: 3,691; makefile: 1,655; python: 1,409; perl: 120; sed: 16
file content (16 lines) | stat: -rw-r--r-- 415 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-FileCopyrightText: 2023-2024, Alejandro Colomar <alx@kernel.org>
// SPDX-License-Identifier: BSD-3-Clause


#include "config.h"

#include "string/sprintf/snprintf.h"

#include <stdarg.h>
#include <stddef.h>


extern inline int snprintf_(char *restrict s, size_t size,
    const char *restrict fmt, ...);
extern inline int vsnprintf_(char *restrict s, size_t size,
    const char *restrict fmt, va_list ap);