Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>tab_sizegetenv</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
tab_sizegetenv

Usage

   #include <tabsize.h>
   unsigned short tab_sizegetenv(void);


Description

   Obtains the value of the TAB environment variable. If there is no TAB
   environment variable it will return the value of the TABS environment
   variable. If neither environment variable exists it will return 0.

Example 

   #include <stdio.h>
   #include <tabsize.h>
   #include <stdlib.h>

   int main()
   {
       unsigned short tab;

       tab = tab_sizegetenv();
       if (tab)
           printf("The value of TAB is %d\n",tab);
       else

           printf("TAB or TABS not defined.\n");
       return EXIT_SUCCESS;
   }

Return Value

   The value of TAB or TABS, if they exist, otherwise 0.





Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson