Changes between Initial Version and Version 1 of GCI/Documentation/AddPrototypesToPOSIXUsersGuide


Ignore:
Timestamp:
10/29/18 23:04:07 (5 years ago)
Author:
Joel Sherrill
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GCI/Documentation/AddPrototypesToPOSIXUsersGuide

    v1 v1  
     1= Add Prototypes to POSIX Users Guide =
     2
     3[[TOC(GCI/Documentation/AddPrototypesToPOSIXUsersGuide, depth=2)]]
     4
     5Prerequisite: Being able to build RTEMS Documentation
     6
     7The POSIX Users Guide has sections where the prototype of the method
     8is missing. This is because the current contents for that service are
     9a stub.  The following is an example from
     10posix_users/device_and_class_specific.rst:
     11
     12{{{
     13.. code-block:: c
     14
     15    int tcgetpgrp(
     16    );
     17}}}
     18
     19This task consists of finding all methods in the .rst file specific to your instance of the task, locating all places where a method is incompletely prototyped, finding the correct prototype, fixing the document, and submitting a patch. The correct prototype can be found in the Open Group POSIX specification at http://pubs.opengroup.org/onlinepubs/9699919799/
     20
     21For the above example, the correct prototype you would end up with should be:
     22
     23{{{
     24.. code-block:: c
     25
     26    #include <unistd.h>
     27    pid_t tcgetpgrp(int fildes);
     28}}}
     29
     30The expected output for this task is a patch against rtems-docs which adds all missing prototypes to a single file. The mentor should ensure the patch does add all missing prototypes to the patched file and that the documentation builds. If the mentor has commit privileges, they can commit the patch.
     31
     32== Set of Files Missing Prototypes ==
     33
     34When this task was initially identified, the following was used to determine which files needed attention:
     35
     36{{{
     37posix-users]$ grep -Pzl "\(\n    \);" *.rst
     38device_and_class_specific.rst
     39input_and_output.rst
     40language_specific_services.rst
     41memory_managment.rst
     42system_database.rst
     43thread_cancellation.rst
     44}}}
     45
     46
     47