Goto main content

puts

Put a string

PUTS

NAME

puts - Put string

SYNOPSIS

puts(file_descriptor, str...)

puts(file:file_descriptor, str...)

DESCRIPTION

This function is used put a string in a file.

This function is avalaible from version 5.131 of sncode.

EXAMPLES

fd = open(create:true,write:true,append:false,"/tmp/tw");
puts(file:fd, "1");
puts(file:fd, "2", "3");
puts(fd, "4", "5");
close(fd);

SEE ALSO

{{ include("includes/files.sn") }}

AUTHOR

Written by Pierre Laplante, <laplante@sednove.com>

MODIFICATIONS

1.0 2020-02-22 21:24:14 laplante@sednove.com

Edit

© 2024 extenso Inc. All rights reserved.