EnglishFrenchSpanish

OnWorks favicon

tspec - Online in the Cloud

Run tspec in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command tspec that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


tspec - An API specification tool

SYNOPSIS


tspec [ options ] api

tspec [ options ] api header

tspec [ options ] api header subset

tspec [ options ] -l file

DESCRIPTION


tspec is a tool for translating a form of API (Application Programming
Interface) description into the #pragma headers used by tcc(1) to
represent such APIs. It is more fully documented in tspec - An API
Specification Tool.

There are two basic forms of command-line. The first specifies that
tspec should process the whole of the API description api, or just one
header from it, header, or just a subset of that header, subset,
writing its output to the standard output directory. The second (using
the -l option) specifies that it should process a single file, writing
the output to the standard output.

OPTIONS


-Cfile Causes tspec to insert the contents of file as a copyright
message at the start of each output file. This can also be
specified using the TSPEC_COPYRIGHT environmental variable. The
order of precedence for this and other similar options is,
built-in values lowest, environmental variables next, and
command-line options highest.

-Idir Add the colon-separated list of directories dir to the list of
directories searched for input files. Input directories can
also be specified using the TSPEC_INPUT environmental variable.

-Odir Specifies that the directory dir should be used as a base for
the include output files. This can also be specified using the
TSPEC_INCL_OUTPUT or the TSPEC_OUTPUT environmental variable.
In the latter case it is given by ${TSPEC_OUTPUT}/include.

-Sdir Specifies that the directory dir should be used as a base for
the source output files. This can also be specified using the
TSPEC_SRC_OUTPUT or the TSPEC_OUTPUT environmental variable. In
the latter case it is given by ${TSPEC_OUTPUT}/src.

-c Causes tspec to only check the input files, not to generate any
output files.

-e Causes tspec to only run its preprocessor phase, writing the
output to the standard output.

-f Causes tspec to ignore date stamps when deciding whether it is
necessary to update an output file, and to force it to be
updated.

-i Causes tspec to print an index of all the objects specified in
the input files to the standard output. This index is designed
to be used as a quick guide to the contents of an API.

-l Specifies local input mode (see above).

-m Causes tspec to print an index intended for machine processing
of all the objects specified in the input files to the standard
output. This index is suitable for processing with text
processing tools such as awk(1).

-n Causes tspec to update any output files which are younger than
the tspec executable. This is useful primarily in development
work on tspec.

-p Indicates to tspec that its input has already been preprocessed
(i.e. that it is the output of a previous -e option).

-r Causes tspec to only produce output for implemented, as opposed
to used, objects.

-s Causes tspec to check each header in an API separately, as
opposed to all at once (as with the -c option).

-u Causes tspec to generate unique token names for the objects in
its input files.

-v Causes tspec to enter verbose mode, in which it reports on the
output files it creates. If two -v options are given then tspec
enters very verbose mode, in which it gives more information on
its activities.

Use tspec online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 2
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 3
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 4
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 5
    MantisBT
    MantisBT
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    offerin...
    Download MantisBT
  • 6
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    notificat...
    Download LAN Messenger
  • More »

Linux commands

Ad