Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 802295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T23:34:43+00:00 2026-05-14T23:34:43+00:00

In POSIX _POSIX_VDISABLE value if -1, there is no disabling character for special character

  • 0

In POSIX _POSIX_VDISABLE value if -1, there is no disabling character for special character for all the terminal device files; otherwise the value is the disabling character value..

Can please anyone help me understand this. I m not able to get the exact meaning of this.

Please

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T23:34:43+00:00Added an answer on May 14, 2026 at 11:34 pm

    If you look at the definition of special characters, that should mean (thre ‘-1’ value), that all those special characters are active:

    In canonical input, the terminal driver recognizes a number of special characters which perform various control functions.
    These include the ERASE character (usually DEL) for editing input, and other editing characters.
    The INTR character (normally Ctrl–c) for sending a SIGINT signal, and other signal-raising characters, may be available in either canonical or noncanonical input mode.

    And you have a lot of those specal characters:

    • Characters for Input Editing
    • BSD Extensions to Editing Characters
    • Characters that Cause Signals
    • Special Characters for Flow Control
    • Other Special Characters

    The question has been raised to see if such a value was portable (did always compiled) in 1997:

    The wording in section 2.9.4:

    If any of the constants in Table 2-11 are defined to have value -1 in the header ….

    can suggest, on casual reading, code like the following to minimize size
    and optimize efficiency for each implementation:

    #ifdef _POSIX_VDISABLE
    #if    _POSIX_VDISABLE == -1
        /* code that assumes no vdisable capability */
    #else
        /* code that assumes vdisable capability */
    #endif
    #else
        /* code that uses pathconf() to determine vdisable capability */
    #endif
    

    The interpretation #34 suggests that it will.

    By using these values at COMPILE-TIME, a portable POSIX.1 application can avoid loading all pathconf() related code associated with a symbol in Table 2-11 when the symbol is defined.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There is the POSIX access() , but I'm looking for a wide character version.
In POSIX, there is the fork() function to create a sub-process. How can I
POSIX environments provide at least two ways of accessing files. There's the standard system
What is POSIX function to get MTU Size value ?? Thanks.
Is there a POSIX function that searches PATH for an executable according to the
Is there a POSIX function that works like the which command? That is, I
Posix provided both named and non-named pipes... Can you have a non-named pipes and
Could someone please explain the differences between POSIX sockets and BSD sockets?
I have a problem in topic of posix processes and I can't get around.
Using the POSIX character classes How to match [:cntrl:] but excluding the [:space:]? $message

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.