VSNPRINTF(3P) POSIX Programmer's Manual VSNPRINTF(3P)PROLOG
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the correspond-
ing Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME
vsnprintf, vsprintf -- format output of a stdarg argument list
SYNOPSIS
#include <stdarg.h>
#include <stdio.h>
int vsnprintf(char *restrict s, size_t n,
const char *restrict format, va_list ap);
int vsprintf(char *restrict s, const char *restrict format,
va_list ap);
DESCRIPTION
Refer to vfprintf().
COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2013 Edition, Standard for Information Technol-
ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, Copyright (C) 2013 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group. (This is POSIX.1-2008 with the 2013 Technical Corrigendum 1 applied.) In the
event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Stan-
dard is the referee document. The original Standard can be obtained online at http://www.unix.org/online.html .
Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source
files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .
IEEE /The Open Group 2013 VSNPRINTF(3P)
Check Out this Related Man Page
SPRINTF(3P) POSIX Programmer's Manual SPRINTF(3P)PROLOG
This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the correspond-
ing Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux.
NAME
sprintf -- print formatted output
SYNOPSIS
#include <stdio.h>
int sprintf(char *restrict s, const char *restrict format, ...);
DESCRIPTION
Refer to fprintf().
COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2013 Edition, Standard for Information Technol-
ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, Copyright (C) 2013 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group. (This is POSIX.1-2008 with the 2013 Technical Corrigendum 1 applied.) In the
event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Stan-
dard is the referee document. The original Standard can be obtained online at http://www.unix.org/online.html .
Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source
files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .
IEEE /The Open Group 2013 SPRINTF(3P)
I'm trying to install the unixODBC in HP-UX 11.11 (64 bits), but when executing the ./configure I got the following results:
root@server:/usr/local/unixODBC-2.2.11# ./configure
checking for a BSD-compatible install... /opt/imake/bin/install -c
checking whether build environment is sane... yes... (2 Replies)
I have searched google and these forums as well. I am trying to compile proftpd on a vanilla Solaris 10 server and I am getting an error when I try to 'make'
Server - Solaris 10 update 4
Installed packages from sunfreeware.com
autoconf-2.60-sol10-sparc-local... (2 Replies)
Hi guys,
I'm trying to install a newer version of CUPS and my compilation fails:
# ./configure
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling...... (4 Replies)
Hello!
I have an ESX Server up and running. Now I want to connect a serial device to the COM Port. For that I need the minicom program.
When I try "configure - make - make all" I get some errors. Can someone please explain to me, what the problems are:
# ./configure
checking for a... (3 Replies)
Executive summary:
Code (posted below) cores in AIX 5.3, despite being compiled and run successfully on several other operating systems. Code is attempting to verify that pthread_mutex_lock can be successfully aborted by siglongjmp. I do not believe this is an unreasonable requirement.
If... (1 Reply)
Please help!
We are upgrading our server to a new Power7/AIX6.1 from Power5/AIX5.3. I have some programs that rely on output of the TOP command to do various things, however, I keep getting an error when I try to re-compile TOP on my new server (see below). I have tried TOP 3.7 (current... (1 Reply)
In this piece i implemented the gossip method. The first thread is invoked from inside the (msg is first sent from node -1 to 0 from main()) and the other threads are invoked from inside of the thread function itself. I used two mutexes and a condition variable to control the synchronization. ... (4 Replies)
Hi Everyone,
I am trying to connect host(i686-pc-cygwin) to the target (arm-elf) via Gdbserver but I am getting following error
checking whether vsnprintf is declared... yes
checking for socklen_t... yes
checking for Elf32_auxv_t... no
checking for Elf64_auxv_t... no
Error: target not... (1 Reply)
Hi.
The problem is to write logs in a shared file from several processes.
The cooperate call of fprintf() leads to messing the content even in one call
example:
fprintf(f,"a1 \n a2");
fprintf(f,"a3 \n a4");
out:
a1
a3
a2
a4
Ofcourse this is possible to implement the file as a... (9 Replies)
Hello,
The purpose of the program is to print a sub string from the prompt inputs. I do not understand why char pointer does not work but char array will for line 40 and Line 41.
./a.out thisisatest 0 8
substring = "thisisat"And my code is:
#include <stdio.h>
#include <stdlib.h>
#include... (29 Replies)
Someone, please help on this issue:-
Note : for security reason i didn't mention hostnames and ips.
==============================================================================
# ntpstat
unsynchronised
polling server every 1024 s
Ntpstat showing unsynchronised.
... (29 Replies)