int
. On success, the total number of characters written is returned.
On failure, a negative number is returned.
More Related Contents:
- how to enter a function to a file in c
- C error: Exited with non-zero status
- optimized sum of an array of doubles in C [duplicate]
- Fixing code to mitigate against buffer overflows and invalid inputs
- What REALLY happens when you don’t free after malloc before program termination?
- Is gcc’s __attribute__((packed)) / #pragma pack unsafe?
- How to achieve function overloading in C?
- How to correctly use the extern keyword in C
- Dynamic allocation of an unknown matrix in C
- ‘float’ vs. ‘double’ precision
- Objective-C : BOOL vs bool
- What exactly is a C pointer if not a memory address?
- Reversing a string in C
- How to use netlink socket to communicate with a kernel module?
- Operator precedence (bitwise ‘&’ lower than ‘==’)
- GCC with -std=c99 complains about not knowing struct timespec
- How to use nan and inf in C?
- Using intptr_t instead of void*?
- How to find the physical address of a variable from user-space in Linux?
- Why are malloc() and printf() said as non-reentrant?
- How to create static linked shared libraries
- Why does GCC not warn for unreachable code?
- Segmentation Fault While Creating Large Arrays in C
- void main() { if(sizeof(int) > -1) printf(“true”); else printf(“false”); ; [duplicate]
- What’s the meaning of this piece of code? void (*signal(int sig, void (*func)(int)))(int);
- What is time(NULL) in C?
- Is there a better way than parsing /proc/self/maps to figure out memory protection?
- C Typedef – Incomplete Type
- Memory Leaks in GTK hello_world program
- Why can’t I ignore SIGSEGV signal?