remove connect fun in usr/src/task.rs
This commit is contained in:
parent
508bd2bb01
commit
09232ae31f
1 changed files with 1 additions and 3 deletions
|
@ -18,9 +18,7 @@ pub fn fork() -> isize {
|
||||||
pub fn exec(path: &str, args: &[*const u8]) -> isize {
|
pub fn exec(path: &str, args: &[*const u8]) -> isize {
|
||||||
sys_exec(path, args)
|
sys_exec(path, args)
|
||||||
}
|
}
|
||||||
pub fn connect(raddr: u32, lport: u16, rport: u16) -> isize {
|
|
||||||
sys_connect(raddr, lport, rport)
|
|
||||||
}
|
|
||||||
pub fn wait(exit_code: &mut i32) -> isize {
|
pub fn wait(exit_code: &mut i32) -> isize {
|
||||||
loop {
|
loop {
|
||||||
match sys_waitpid(-1, exit_code as *mut _) {
|
match sys_waitpid(-1, exit_code as *mut _) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue