The raw system call interface on x86-64 and some other architectures
(including sh, tile, and alpha) is:
.PP
-.in +4
+.in +4n
.EX
.BI "long clone(unsigned long " flags ", void *" stack ,
.BI " int *" parent_tid ", int *" child_tid ,
.\" CONFIG_CLONE_BACKWARDS
the order of the last two arguments is reversed:
.PP
-.in +4
+.in +4n
.EX
.BI "long clone(unsigned long " flags ", void *" stack ,
.BI " int *" parent_tid ", unsigned long " tls ,
.\" CONFIG_CLONE_BACKWARDS2
the order of the first two arguments is reversed:
.PP
-.in +4
+.in +4n
.EX
.BI "long clone(void *" stack ", unsigned long " flags ,
.BI " int *" parent_tid ", int *" child_tid ,
.\" CONFIG_CLONE_BACKWARDS3
an additional argument is supplied:
.PP
-.in +4
+.in +4n
.EX
.BI "long clone(unsigned long " flags ", void *" stack ,
.BI " int " stack_size , "\fR /* Size of stack */"
.SS ia64
On ia64, a different interface is used:
.PP
-.in +4
+.in +4n
.EX
.BI "int __clone2(int (*" "fn" ")(void *),"
.BI " void *" stack_base ", size_t " stack_size ,
.BR clone ()
prototype on microblaze):
.PP
-.in +4
+.in +4n
.EX
.BI "long clone2(unsigned long " flags ", void *" stack_base ,
.BI " int " stack_size , "\fR /* Size of stack */"
To convert the value 12.1 as a float type to a string using decimal
notation, resulting in "12.100000":
.PP
-.in +4
+.in +4n
.EX
#define __STDC_WANT_IEC_60559_BFP_EXT__
#include <stdlib.h>
To convert the value 12.3456 as a float type to a string using
decimal notation with two digits of precision, resulting in "12.35":
.PP
-.in +4
+.in +4n
.EX
#define __STDC_WANT_IEC_60559_BFP_EXT__
#include <stdlib.h>
To convert the value 12.345e19 as a double type to a string using
scientific notation with zero digits of precision, resulting in "1E+20":
.PP
-.in +4
+.in +4n
.EX
#define __STDC_WANT_IEC_60559_BFP_EXT__
#include <stdlib.h>