/* Define the maximum password length */ #define MIN_PASSWORD_LENGTH 8 ...
C Password gen in C with MD5 ...
I wanted to try my hand at ...
#include <stdio.h> #include <stdarg.h> #include <stdlib.h> ...
C md5-file.c
by https://www.google.com/accounts/o8/id?id=AItOawkaJfxdlVdOFdPHlhS4nKHGKNOFcokUd7I,
December 26, 2010 01:27,
2 refactorings, tagged with c, md5, prettier
I've been messing around wi...
#include <unistd.h> #include <sys/types.h> #include <pwd.h> ...
C chroot without root
I want to run a process in ...
int contains(const char* word, const char* pattern) {
int pCount = 0, pLength = strlen(pattern);
char i;
...
C String Searching Algorithm
I wrote the following funct...
/* * ===================================================================================== * ...
C Using semaphores in C and f...
by jarodluebbert.myopenid.com,
March 24, 2010 07:28,
No refactoring, tagged with c, concurrency, ipc, semaphores
Just posting this to check ...
#include <stdio.h> #include <stdint.h> #include <stdlib.h> ...
C Simple SHA Hashing
Dear All, I'm a new C progr...
void freeArray(int **a, int m) {
int i;
for (i = 0; i < m; ++i) {
...
C Freeing memory of a Multidi...
Is this the correct way to ...
#include <stdio.h> #include <stdlib.h> ...
C program i wrote to learn
it works but i think i coul...
void foo(char** array)
{
*array = (char *)calloc(2, sizeof(char*));
...
C Initialize char array in fu...
How do you initialize an ar...
/* LANGUAGE_CHANGE This plugin change the default language in Linux. ...
C language_change plugin for ...
by gmh2000.myopenid.com,
April 28, 2009 16:08,
No refactoring, tagged with c, plugin, linux, pidgin, language, change
This plugin works in my Kub...
#include <stdio.h> #include <stdlib.h> ...
C Read specific range of line...
Hi I'm trying to make a pro...
char **split (char *string, char sep, char escape) {
char **ret = NULL;
...
C A Java-like function split
This function splits a stri...
int socket_read_line_alloc(int sock, char** out) {
/* current buffer size */
unsigned int size = 128;
...
C Socket read line in C
I don't like the char** out...
Self taught coder looking f...