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
    Image Downloader
    Image Downloader
    Crawl and download images using
    Selenium Using python3 and PyQt5.
    Supported Search Engine: Google, Bing,
    Baidu. Keywords input from the keyboard
    or input from ...
    Download Image Downloader
  • 2
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 3
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 4
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 5
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 6
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • More »

Linux commands

Ad