DOCUMENTATION
  •   Pages
  •   Videos
  • My Account
    • Login
    • Register
  • Getting Started
  • Extenso
  • Components
    • Forms
    • Shared Content (ct)
    • Tables
    • Child Tables
    • Sessions
    • Templates
    • Themes
    • Components
    User Section
    • Edit content with pencils
    • Quick Access Menu
    Developer Section
    • Environment and structure
    • Building a Website
    • Installation & configuration
    • Development Standards
    • Create a component
    • Image Processor Guide
    • Grid
  • Sncode
  • IntroductionThe Basics
    • Classes
    • Condition Statements
    • Functions
    • Loop Statements
    • Operators
    • Packages
    • Ternary Operator
    • Variables & Types
    Advanced
    • Dynamic Evaluation
    • In-Memory File Cache
    • Running CLI scripts
    Library
    • Array
    • Cryptography
    • Date
    • Database
    • DBHash
    • Files
    • GD
    • Hashtable
    • Mail
    • Math
    • Request
    • Response
    • String
    • Utils
    • Web
    • XML
  • Useful Links
  • APR
function

close . files . sncode

VERSIONlatest Close a file

CLOSE

NAME

close - Close a file

SYNOPSIS

close(file_descriptor)

close(file:file_descriptor)

DESCRIPTION

This function is used to close a file that was already open with function open

EXAMPLES

close(file_descriptor);

AUTHOR

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

Other functions in Files

append

is used to copy/append file

basename

Return the file part of a pathame

compile

Use to compile a file.

copy

Use to copy file.

cp

Copy a file.

ct

Get the value for a code.

dir

Use to list the file of a directory.

dirname

Return the file part of a pathame

exec

Use to exec file.

exif_​read

Read exif information from a file

extention

Return the length of an expression.

filename

Return the filename.

generate

Used to generate a file.

getchar

Get a character

getline

Get a line

include

This function is used to include a file.

lock

Lock a file or Open and lock a file

mkdir

Use to create a directory.

mv

Move/rename a file.

open

Open a file

puts

Put a string

read

Read a file.

realpath

Check is a file is valid.

remove

Use to remove directories and files.

rmdir

Use to remove directories.

seek

Move the read/write file offset to a specified byte within a ...

sendfile

Send a file.

size

Use to size a file

stat

Use to stat a file.

ungetchar

Un-Get a character

valid

Use to validate a file or a directory.

write

Write in a file.

xls

Create a new Excel file.