Search:

Type: Posts; User: tritong

Search: Search took 0.01 seconds.

  1. Thread: AVL tree ??

    by tritong
    Replies
    4
    Views
    1,534

    AVL tree ??

    Does someone have tutorial and some source code (insert + delete item) ???
  2. Replies
    6
    Views
    11,338

    int rc = write(socket, str, strlen(str)); ...

    int rc = write(socket, str, strlen(str));


    maximum can use (strlen(str)) = ?
    Does it greater than 4096 ???
  3. Replies
    6
    Views
    11,338

    maximum data (bytes) send via socket ???

    The title is my question ???
  4. Replies
    5
    Views
    2,065

    Thanks so much. Because I use it but not remove...

    Thanks so much.
    Because I use it but not remove it after run. So I change the seg size and compile, it occurs error.
    I have solved it.

    Can I write one struct to share memory ??


    struct test...
  5. Replies
    5
    Views
    2,065

    I use FreeBSD 6.0 The man page do not show that.

    I use FreeBSD 6.0
    The man page do not show that.
  6. Replies
    5
    Views
    2,065

    Size of segment : #define SHMSZ 27 ...

    Size of segment :


    #define SHMSZ 27




    if ((shmid = shmget(key, SHMSZ, IPC_CREAT | 0666)) < 0)
    {
  7. Replies
    5
    Views
    2,065

    How to LIMIT share memory in C ???

    With 2 c files, they use 1 memory area. How to set limit memory for them ???
    I use library shm.h and its func (shmget, shmat, shmctl ... ). When i share memory for another, i don't know how to...
  8. Replies
    4
    Views
    1,235

    Pointer and Struct ???

    This is the include file test.h


    #include <string.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <fcntl.h>
    #include <unistd.h>
    #include <sys/types.h>
    #include <sys/mman.h>
Results 1 to 8 of 9