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

  • Home
  • SEARCH
  • 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 8393883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T19:55:11+00:00 2026-06-09T19:55:11+00:00

When developing a kernel module in Linux, using the C standard library isn’t allowed.

  • 0

When developing a kernel module in Linux, using the C standard library isn’t allowed.
However, in case I need to use some common functionality like strcat(), where do I need to go to?

  • 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-09T19:55:12+00:00Added an answer on June 9, 2026 at 7:55 pm

    Whatever is not implemented in the Linux kernel, you have to implement yourself or borrow from another open source kernel module. However, you’ll find that strcat is implemented in the kernel.

    See the kernel API documentation. Specifically the Basic C Library Functions section for your general question, and the String Manipulation section for your specific question about strcat.

    You’ll want to include linux/string.h.

    I don’t know why the kernel API documentation doesn’t actually show the header file that you have to include to get the function. But if you’re looking for something, you can restrict your search to /include/linux because that is where header files go if they have functions that are shared amongst different parts of the kernel.

    Header files outside /include/linux contain definitions only for source files residing in the same directory as the header. The exception is /arch/.../include, which will contain architecture-specific headers instead of platform independent ones.

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

Sidebar

Related Questions

I'm developing a Linux kernel module outside of the Linux source tree (in the
One of the Linux kernel drivers I am developing is using network communication in
I'm developing a Linux driver loadable module and I have to use another device
Currently I am developing GPIO kernel module for friendlyarm Linux 2.6.32.2 (mini2440). I am
I am developing a Linux kernel module (driver) for an embedded system in the
I am developing a kernel module that uses unlocked_ioctl. I tested it with kernel
Developing a project of mine I realize I have a need for some level
I'm working on developing a GUI for the recompilation of Linux kernel. For this
I have a C program that I'm developing using Ubuntu 11.10 (Linux version 3.0.0-12-generic-pae
I need some clarification. I'm developing OpenCL on my laptop running a small nvidia

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.