The Go fmt Print functions use the C printf model for formatted output. The 
usual terminology is argument. 

---

The C Programming Language
https://en.wikipedia.org/wiki/The_C_Programming_Language

B.1.2 Formatted Output

The printf functions provide formatted output conversion.

int fprintf(FILE *stream, const char *format, ...)

fprintf converts and writes output to stream under the control of format . 
The return value
is the number of characters written, or negative if an error occurred.

The format string contains two types of objects: ordinary characters, which 
are copied to the
output stream, and conversion specifications, each of which causes 
conversion and printing of
the next successive argument to fprintf.

---

POSIX
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html

NAME

printf - write formatted output

SYNOPSIS

printf format [argument...]

DESCRIPTION

The printf utility shall write formatted operands to the standard output. 
The argument operands shall be formatted under control of the format 
operand.

---

Linux
https://linux.die.net/man/1/printf

printf(1) — Linux manual page
 
NAME

printf - format and print data

SYNOPSIS

printf FORMAT [ARGUMENT]...

DESCRIPTION 

Print ARGUMENT(s) according to FORMAT.

---

Peter

On Tuesday, May 25, 2021 at 4:14:50 AM UTC-4 Delta Echo wrote:

> What does the parameter name `a` stands for in fmt package's functions?
>
> like,
>
> func Printf(format string, a ...interface{}) (n int, err error)
>
> Is it argument?
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/28a09f9c-6124-40fd-bf06-79b326fc9cb8n%40googlegroups.com.

Reply via email to