shmget, shmctl, shmat, shmdt codes

Posted on 2005-04-11
Last Modified: 2007-11-27
For a class, I need to write out the functions for:
int shmget(...)
int shmctl(...)
void *shmat(...)
int shmdt(...)

Does anyone know the code for these functions?  When I do searches I can find how to use them or how they work, but can't find the actual code.  I need to have this code in order to work on a project for my class that has a due date, so the question is urgent.  Thanks!
Question by:munchkin65
    1 Comment
    LVL 3

    Accepted Solution

    source code for these functions should be available from the linux source tree,

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now