GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
valid_extension(3) FreeBSD Library Functions Manual valid_extension(3)

#include <xtend/file.h>
-lxtend

bool    xt_valid_extension(const char *filename, const char *valid_ext)

filename:   Name of the file to be checked
valid_ext:  Valid extension, not include .gz, .bz2, or .xz

Verify that the filename extension on filename is either the valid extension provided or that extension followed by a compression extension, e.g. .gz, .bz2, .xz.

true (defined in stdbool.h) if filename has a valid extension false if not

gzip(1), bzip2(1), xz(1)


Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.