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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:26:47+00:00 2026-06-04T15:26:47+00:00

What does it mean when there are three items in a typedef? For example:

  • 0

What does it mean when there are three items in a typedef?

For example:

typedef CK_BYTE     CK_PTR       CK_BYTE_PTR;

I know that if you just have typedef CK_BYTE CK_PTR; then CK_BYTE would just be able to be referred to as CK_PTR.

  • 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-06-04T15:26:48+00:00Added an answer on June 4, 2026 at 3:26 pm

    A bit of Googling indicates that CK_PTR is a macro defined in pkcs11.h. Follow that link to see the documentation for these definitions.

    It’s normally defined as:

    #define CK_PTR *
    

    but on some ancient systems it might be defined as

    #define CK_PTR far *
    

    where far is a mostly obsolete system-specific keyword that specifies a certain non-standard kind of pointer.

    So this:

    typedef CK_BYTE CK_PTR CK_BYTE_PTR;
    

    is equivalent to this (much clearer) code:

    typedef CK_BYTE *CK_BYTE_PTR;
    

    which defined CK_BYTE_PTR as a pointer to a CK_BYTE.

    The quoted definition of CK_BYTE_PTR occurs in the same header file.

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

Sidebar

Related Questions

I only have experience with log4net however that does not mean that there are
what does it mean where there are two id's in the jquery selector using
What does it mean to say - Engineering scalability into applications. Are there design
from ARM DDI 01001, there is a term: process geometry, does it mean the
Does anyone know what these error's mean? I get this when I click a
Does [_\s^] mean underscore and whitespace but not (quote) in Reg I understand that
What does this mean: Next add reference to: MySql.Data actually I have downloaded mysql
What does multiplexing mean (in it's abstract form)? I understand you have 'multiplexers' in
I want to filter a property within a range, but items that does not
Does anyone know of a utility (for Windows or Linux or MacOSX) that will

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.