dd
vim설정을 적용하려면, normal 모드 상태에서 :w로 저장하고, :so %를 실행한다.플러그인 설치를 하려면 vim을 켜고 :PlugInstall을 실행한다.
터미널 창에서 alias 등록bash_profile 확인변경 사항 적용
1.memset writes len bytes of value c (converted to an unsigned char) to the string b. c를 unsigned char로 변형해서 n개 만큼 b문자열에 쓴다. return : first argument.
1.ft_substr 2.ft_strjoin 3.ft_strtrim 기능 : malloc을 할당하고 문자열의 처음과 끝에서 'set'에 지정된 문자가 제거된 문자열 's1'의 사본을 반환. return : 문자가 제거된 문자열. 할당 실패시 NULL. 예제 :
1.ft_lstnew 기능 : 구조체 t_list를 동적할당하고, 인자값으로 content변수를 초기화, next변수는 null로 초기화 한다. return : 생성한 t_list 2.ftlstaddfront 기능 : 시작 부분에 new 요소를 추가한다. 링크드
매크로를 외부에서 define할 때 사용한다.gcc -Wall -Wextra -Werror -D BUFFER_SIZE=32get_next_line.c get_next_line_utils.c이는 컴파일 할 때에 BUFFER_SIZE를 정한다는 의미 이다.메모리의 데이터
1. What is an IP address 노드(컴퓨터)간 통신에 필요한 고유 주소를 뜻함. 네트워크 주소 + 호스트 주소로 구성된다. IPv4 가장 널리 사용되는 IP 주소로, 32비트 값을 가진다. 8비트씩 끊어 표기하고, 점(.)으로 구분한다.\[8비트씩 4부분
1. OSI 7 Model
UDP is faster, simpler and more efficient than TCPUDP only has the basic error control mechanismUDP is a datagram oriented protocolUDP supports broadc