cproto icon

cproto For Linux

  n/a
Public Domain    

This tiny Open Source project provides a function prototypes generator for Linux. #Generate function prototype  #Function prototype  #Prototype generator  #Function  #Prototype  #Generator  

Softpedia Review

changelog

Free Download

cproto Review by
4.0/5

cproto is a tiny, fast, easy to install and easy-to-use command-line software that can be used by any developer to generate function prototypes for the functions defined in a certain C source file. It’s a completely free program, distributed under an open source license.

The project is engineered in such a way that it supports multiple styles for function definitions, including ANSI C, K&R, as well as the lint-library form. You will also be able to convert function definitions of a specified C source file with this small CLI utility.

The program comes with several command-line options, which can be viewed at a glance by running the ‘cproto --help’ command in a console environment, such as a terminal emulator application.

Among these, we can mention the ability to convert function definitions to traditional style or ANSI, to rewrite function definitions in both styles, to enable comments in prototype parameters, to output “extern” keyword before global declarations, and to set the function prototype style.

You will be able to redirect output and errors to a specific file, to disable formal parameter promotion and include file read failure messages, to output static, variable and inline declarations, to put macro around prototype parameters, and to set the name of the prototype macro.

Installing the cproto program on a GNU/Linux operating system is easy as pie. Begin by downloading the latest release, save the archive somewhere on your Home directory, and uncompress it using an archive manager tool.

Open a terminal emulator software, navigate to the location where you’ve extracted the archive file, and run the ‘./configure && make’ command to configure and compile cproto. After a successful compilation process, run the ‘sudo make install’ command to install it system wide.

What's new in cproto 4.7l:

  • Add "docs" rule to makefile.
  • Correct configure check for yyname vs yytname, broken by 4.7i changes
  • Update config.guess
Read the full changelog

cproto 4.7l

add to watchlist add to download basket send us an update REPORT
  runs on:
Linux
  filename:
cproto.tar.gz
  1 screenshot:
cproto - The help message of the cproto command-line utility, as viewed from the Linux Terminal
  main category:
Programming
  developer:
  visit homepage
User Comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy