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 7068757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:21:47+00:00 2026-05-28T05:21:47+00:00

I know it is a Macro we are passing to a function. How do

  • 0

I know it is a Macro we are passing to a function. How do you explain what is the use of this macro, and in which scenario i have to use this ?.

  • 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-28T05:21:48+00:00Added an answer on May 28, 2026 at 5:21 am

    Whereas applications developed conforming to POSIX.1 – (IEEE 1003.1-2008, ISO/IEC 9945:2009) and / or Single Unix Specification 2008 (ISO/IEC 9945:2009 with X/Open Curses) help ensure how portable your application is. The _GNU_SOURCE will most likely limits source code usage to GNU/Linux and GNU/Hurd systems, unless additional work is done to address the non-portability of such functionality on other platforms.

    Some companies, and government / military contracts may require certain platform standards to be used.

    If you are developing an Open Source / Free Software application that you wish to be available on multiple Unix and Unix-like systems (including Microsoft Windows NT, 2000, and newer which have a POSIX compatibility available) then limiting your development to POSIX.1 library functions makes this an easier task. Other targets include the free/open BSD platforms NetBSD, FreeBSD, OpenBSD, DragonflyBSD, as well as the commercial Unix systems (Solaris, AIX, HP/UX, etc.) that do not include _GNU_SOURCE functionality.

    If you use an altered functionality of a portable function, I can’t think of an example but I believe they do exist, it may create subtle bugs in non-GNU platforms.

    So in general, if your development is already locked into GNU / Linux and GNU / Hurd then feel free to use such extensions, but avoid such usages for any applications that may be deployed on other Unix and Unix-like operating systems.

    I do work on a large-ish code base that has been ported from two other Unix platforms to Linux, and we do use _GNU_SOURCE extensions sparingly, though most of the development is limited to modern POSIX or IEEE 1003.1 / Single Unix Spec and C99 (Standard C Library) standards for future compatibility.

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

Sidebar

Related Questions

does anyone know of a macro or add-on for VS 2008 which reformats xml-comments?
Does anyone know of a macro function in OpenOffice like exec() or system() in
I don't think this is technically a macro but I don't know what else
I'm trying to know how vim experts use macro's in vim for day-to-day coding
So we all know that C# doesn't have a C-like macro pre-processor (and there's
I have a VBA macro that validates user entered data (I didn't use data
I know of several approaches using a macro (VBA) to show/hide columns and rows
Know of any good libraries for this? I did some searches and didn't come
Know this might be rather basic, but I been trying to figure out how
I want to have a function in a different module, that when called, has

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.